projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef26c15
)
smuldi3_highpart.c: Replace long with long long for -mx32
author
H.J. Lu
<hjl.tools@gmail.com>
Thu, 23 Dec 2021 18:07:25 +0000
(10:07 -0800)
committer
H.J. Lu
<hjl.tools@gmail.com>
Thu, 23 Dec 2021 18:07:25 +0000
(10:07 -0800)
* gcc.target/i386/smuldi3_highpart.c: Replace long with long long.
gcc/testsuite/gcc.target/i386/smuldi3_highpart.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.target/i386/smuldi3_highpart.c
b/gcc/testsuite/gcc.target/i386/smuldi3_highpart.c
index 8bbd5f5cb8de9e2d532f2e7095f1667192f7cc53..cd8ea41e019fc0f453c84259b7d2cbccaf305335 100644
(file)
--- a/
gcc/testsuite/gcc.target/i386/smuldi3_highpart.c
+++ b/
gcc/testsuite/gcc.target/i386/smuldi3_highpart.c
@@
-2,7
+2,7
@@
/* { dg-options "-O2" } */
typedef int __attribute ((mode(TI))) ti_t;
-long
foo(
long x)
+long
long foo(long
long x)
{
return ((ti_t)x * 19065) >> 72;
}