Commit e4b6bec2 by Eric Christopher

libgcc2.c (__bswapsi2): Use SItype.

2007-01-04  Eric Christopher  <echristo@apple.com>

	    * libgcc2.c (__bswapsi2): Use SItype.
	      (__bswapdi2): Use DItype.
	    * libgcc2.h: Update for above.

From-SVN: r120454
parent d6c397b0
2007-01-04 Eric Christopher <echristo@apple.com>
* libgcc2.c (__bswapsi2): Use SItype.
(__bswapdi2): Use DItype.
* libgcc2.h: Update for above.
2007-01-04 Paul Brook <paul@codesourcery.com> 2007-01-04 Paul Brook <paul@codesourcery.com>
* config/arm/arm.md (arm_mulsi3, thumb_mulsi3, mulsi3_compare0, * config/arm/arm.md (arm_mulsi3, thumb_mulsi3, mulsi3_compare0,
...@@ -381,14 +387,14 @@ ...@@ -381,14 +387,14 @@
2007-01-02 Steve Ellcey <sje@cup.hp.com> 2007-01-02 Steve Ellcey <sje@cup.hp.com>
* sbitmap.c (HOST_BITS_PER_LONG_LONG): Change to * sbitmap.c (HOST_BITS_PER_LONG_LONG): Change to
HOST_BITS_PER_LONGLONG HOST_BITS_PER_LONGLONG
2007-01-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org> 2007-01-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c/19977 PR c/19977
* c-typeck.c (store_init_value): Don't emit pedantic overflow * c-typeck.c (store_init_value): Don't emit pedantic overflow
warning for non-static initializers. warning for non-static initializers.
2007-01-02 Steven Bosscher <steven@gcc.gnu.org> 2007-01-02 Steven Bosscher <steven@gcc.gnu.org>
* config/alpha/alpha.md, arm/arm.c, darwin.c, frv/frv.md, * config/alpha/alpha.md, arm/arm.c, darwin.c, frv/frv.md,
...@@ -427,7 +433,7 @@ ...@@ -427,7 +433,7 @@
* c-opts.c (c_common_post_options): Enabled by -Wextra. * c-opts.c (c_common_post_options): Enabled by -Wextra.
* c-decl.c (declspecs_add_scspec): Replace -Wextra with * c-decl.c (declspecs_add_scspec): Replace -Wextra with
-Wold-style-declaration. -Wold-style-declaration.
2007-01-02 Kazu Hirata <kazu@codesourcery.com> 2007-01-02 Kazu Hirata <kazu@codesourcery.com>
* alias.c (init_alias_analysis): Use VEC_safe_grow_cleared. * alias.c (init_alias_analysis): Use VEC_safe_grow_cleared.
...@@ -445,7 +451,7 @@ ...@@ -445,7 +451,7 @@
* c-common.c(c_common_nodes_and_builtins): Since variants of * c-common.c(c_common_nodes_and_builtins): Since variants of
void_type_node get built before it is given a name, we need to void_type_node get built before it is given a name, we need to
give those variants the name, too. give those variants the name, too.
(complete_array_type): We need to work with the canonical main (complete_array_type): We need to work with the canonical main
type of the array, from which we will build the qualified version. type of the array, from which we will build the qualified version.
* params.def (PARAM_VERIFY_CANONICAL_TYPES): New. * params.def (PARAM_VERIFY_CANONICAL_TYPES): New.
...@@ -475,7 +481,7 @@ ...@@ -475,7 +481,7 @@
structural equality tests. structural equality tests.
(build_array_type): Build the canonical form of an array type. (build_array_type): Build the canonical form of an array type.
(build_function_type): Function types require structural equality, (build_function_type): Function types require structural equality,
because they contain default arguments, attributes, etc. because they contain default arguments, attributes, etc.
(build_method_type_directly): Ditto for method types. (build_method_type_directly): Ditto for method types.
(build_offset_type): Build the canonical offset type. (build_offset_type): Build the canonical offset type.
(build_complex_type): Build the canonical vector type. (build_complex_type): Build the canonical vector type.
......
...@@ -493,8 +493,8 @@ __ashrdi3 (DWtype u, word_type b) ...@@ -493,8 +493,8 @@ __ashrdi3 (DWtype u, word_type b)
#endif #endif
#ifdef L_bswapsi2 #ifdef L_bswapsi2
UWtype SItype
__bswapsi2 (UWtype u) __bswapsi2 (SItype u)
{ {
return ((((u) & 0xff000000) >> 24) return ((((u) & 0xff000000) >> 24)
| (((u) & 0x00ff0000) >> 8) | (((u) & 0x00ff0000) >> 8)
...@@ -503,8 +503,8 @@ __bswapsi2 (UWtype u) ...@@ -503,8 +503,8 @@ __bswapsi2 (UWtype u)
} }
#endif #endif
#ifdef L_bswapdi2 #ifdef L_bswapdi2
UDWtype DItype
__bswapdi2 (UDWtype u) __bswapdi2 (DItype u)
{ {
return ((((u) & 0xff00000000000000ull) >> 56) return ((((u) & 0xff00000000000000ull) >> 56)
| (((u) & 0x00ff000000000000ull) >> 40) | (((u) & 0x00ff000000000000ull) >> 40)
......
...@@ -345,13 +345,13 @@ extern Wtype __addvSI3 (Wtype, Wtype); ...@@ -345,13 +345,13 @@ extern Wtype __addvSI3 (Wtype, Wtype);
extern Wtype __subvSI3 (Wtype, Wtype); extern Wtype __subvSI3 (Wtype, Wtype);
extern Wtype __mulvSI3 (Wtype, Wtype); extern Wtype __mulvSI3 (Wtype, Wtype);
extern Wtype __negvSI2 (Wtype); extern Wtype __negvSI2 (Wtype);
extern UWtype __bswapsi2 (UWtype); extern SItype __bswapsi2 (SItype);
extern DWtype __absvDI2 (DWtype); extern DWtype __absvDI2 (DWtype);
extern DWtype __addvDI3 (DWtype, DWtype); extern DWtype __addvDI3 (DWtype, DWtype);
extern DWtype __subvDI3 (DWtype, DWtype); extern DWtype __subvDI3 (DWtype, DWtype);
extern DWtype __mulvDI3 (DWtype, DWtype); extern DWtype __mulvDI3 (DWtype, DWtype);
extern DWtype __negvDI2 (DWtype); extern DWtype __negvDI2 (DWtype);
extern UDWtype __bswapdi2 (UDWtype); extern DItype __bswapdi2 (DItype);
#ifdef COMPAT_SIMODE_TRAPPING_ARITHMETIC #ifdef COMPAT_SIMODE_TRAPPING_ARITHMETIC
extern SItype __absvsi2 (SItype); extern SItype __absvsi2 (SItype);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment