diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-16 09:06:54 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-16 09:06:54 +0000 |
commit | 636aa20056f2b242c296c0c0f55bbd4d21332966 (patch) | |
tree | 92c2decbbd8379fd6e7901fa3728eed395a5137d /target-alpha/op_helper.c | |
parent | facd2857783d58387885ad7cb1e4a8386f241738 (diff) | |
download | qemu-636aa20056f2b242c296c0c0f55bbd4d21332966.zip qemu-636aa20056f2b242c296c0c0f55bbd4d21332966.tar.gz qemu-636aa20056f2b242c296c0c0f55bbd4d21332966.tar.bz2 |
Replace always_inline with inline
We define inline as always_inline.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-alpha/op_helper.c')
-rw-r--r-- | target-alpha/op_helper.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index 22812ca..e9d2732 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -200,7 +200,7 @@ uint64_t helper_cttz (uint64_t arg) return ctz64(arg); } -static always_inline uint64_t byte_zap (uint64_t op, uint8_t mskb) +static inline uint64_t byte_zap(uint64_t op, uint8_t mskb) { uint64_t mask; @@ -322,7 +322,7 @@ uint64_t helper_cmpbge (uint64_t op1, uint64_t op2) /* Floating point helpers */ /* F floating (VAX) */ -static always_inline uint64_t float32_to_f (float32 fa) +static inline uint64_t float32_to_f(float32 fa) { uint64_t r, exp, mant, sig; CPU_FloatU a; @@ -355,7 +355,7 @@ static always_inline uint64_t float32_to_f (float32 fa) return r; } -static always_inline float32 f_to_float32 (uint64_t a) +static inline float32 f_to_float32(uint64_t a) { uint32_t exp, mant_sig; CPU_FloatU r; @@ -449,7 +449,7 @@ uint64_t helper_sqrtf (uint64_t t) /* G floating (VAX) */ -static always_inline uint64_t float64_to_g (float64 fa) +static inline uint64_t float64_to_g(float64 fa) { uint64_t r, exp, mant, sig; CPU_DoubleU a; @@ -482,7 +482,7 @@ static always_inline uint64_t float64_to_g (float64 fa) return r; } -static always_inline float64 g_to_float64 (uint64_t a) +static inline float64 g_to_float64(uint64_t a) { uint64_t exp, mant_sig; CPU_DoubleU r; @@ -576,7 +576,7 @@ uint64_t helper_sqrtg (uint64_t a) /* S floating (single) */ -static always_inline uint64_t float32_to_s (float32 fa) +static inline uint64_t float32_to_s(float32 fa) { CPU_FloatU a; uint64_t r; @@ -589,7 +589,7 @@ static always_inline uint64_t float32_to_s (float32 fa) return r; } -static always_inline float32 s_to_float32 (uint64_t a) +static inline float32 s_to_float32(uint64_t a) { CPU_FloatU r; r.l = ((a >> 32) & 0xc0000000) | ((a >> 29) & 0x3fffffff); @@ -660,7 +660,7 @@ uint64_t helper_sqrts (uint64_t a) /* T floating (double) */ -static always_inline float64 t_to_float64 (uint64_t a) +static inline float64 t_to_float64(uint64_t a) { /* Memory format is the same as float64 */ CPU_DoubleU r; @@ -668,7 +668,7 @@ static always_inline float64 t_to_float64 (uint64_t a) return r.d; } -static always_inline uint64_t float64_to_t (float64 fa) +static inline uint64_t float64_to_t(float64 fa) { /* Memory format is the same as float64 */ CPU_DoubleU r; @@ -939,7 +939,7 @@ uint64_t helper_cvtlq (uint64_t a) return (int64_t)((int32_t)((a >> 32) | ((a >> 29) & 0x3FFFFFFF))); } -static always_inline uint64_t __helper_cvtql (uint64_t a, int s, int v) +static inline uint64_t __helper_cvtql(uint64_t a, int s, int v) { uint64_t r; |