Skip to content
Snippets Groups Projects
Commit 8f34344e authored by H.J. Lu's avatar H.J. Lu
Browse files

smuldi3_highpart.c: Replace long with long long for -mx32

	* gcc.target/i386/smuldi3_highpart.c: Replace long with long long.
parent ef26c151
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
typedef int __attribute ((mode(TI))) ti_t; typedef int __attribute ((mode(TI))) ti_t;
long foo(long x) long long foo(long long x)
{ {
return ((ti_t)x * 19065) >> 72; return ((ti_t)x * 19065) >> 72;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment