diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-04 23:16:34 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-04 23:16:34 +0000 |
commit | c2f6f0a7fefca7318ef23c13286ce0ea618a02bc (patch) | |
tree | dd4094fdd3ac11de20be720f32640aa8e1967ff6 /gcc/libgcc2.c | |
parent | 58d7d6543846cd04391ccbee7a5163f039a6238d (diff) | |
download | gcc-c2f6f0a7fefca7318ef23c13286ce0ea618a02bc.tar.gz |
2007-01-04 Eric Christopher <echristo@apple.com>
* libgcc2.c (__bswapsi2): Use SItype.
(__bswapdi2): Use DItype.
* libgcc2.h: Update for above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120454 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index bc50ab6b74f..b78b8f6a387 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -493,8 +493,8 @@ __ashrdi3 (DWtype u, word_type b) #endif #ifdef L_bswapsi2 -UWtype -__bswapsi2 (UWtype u) +SItype +__bswapsi2 (SItype u) { return ((((u) & 0xff000000) >> 24) | (((u) & 0x00ff0000) >> 8) @@ -503,8 +503,8 @@ __bswapsi2 (UWtype u) } #endif #ifdef L_bswapdi2 -UDWtype -__bswapdi2 (UDWtype u) +DItype +__bswapdi2 (DItype u) { return ((((u) & 0xff00000000000000ull) >> 56) | (((u) & 0x00ff000000000000ull) >> 40) |