diff options
author | scox <scox@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-27 11:56:18 +0000 |
---|---|---|
committer | scox <scox@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-27 11:56:18 +0000 |
commit | e82d40e3bc36488ea817c7345af6c84dbca26605 (patch) | |
tree | 627dfb989a3c27cc7535c40fd163b45c714e6b21 /gcc/longlong.h | |
parent | 3071a55c36331e100a8cf38c7cb53791a73142a2 (diff) | |
download | gcc-e82d40e3bc36488ea817c7345af6c84dbca26605.tar.gz |
configure.in: Added i[34567]86-*-win32.
config.sub: Ditto.
configure: Rebuilt.
longlong.h (count_leading_zeros): Sparclite scan instruction
i386.c (ix86_prologue): Added SUBTARGET_PROLOGUE invocation.
i386/cygwin32.h (STARTFILE_SPEC, LIB_SPEC, SUBTARGET_PROLOGUE): Add -pg support.
i386/win.h: New file. Hybrid mingw32.h/cygwin32.h configuration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21411 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r-- | gcc/longlong.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h index f86f894714d..2c047117d44 100644 --- a/gcc/longlong.h +++ b/gcc/longlong.h @@ -978,9 +978,11 @@ UDItype __umulsidi3 (USItype, USItype); : "%g1" __AND_CLOBBER_CC) #define UDIV_TIME 37 #define count_leading_zeros(count, x) \ - __asm__ ("scan %1,0,%0" \ - : "=r" ((USItype) (x)) \ - : "r" ((USItype) (count))) + do { \ + __asm__ ("scan %1,1,%0" \ + : "=r" ((USItype) (count)) \ + : "r" ((USItype) (x))); \ + } while (0) #else /* SPARC without integer multiplication and divide instructions. (i.e. at least Sun4/20,40,60,65,75,110,260,280,330,360,380,470,490) */ |