diff options
author | Richard Henderson <rth@twiddle.net> | 2009-12-11 16:31:29 -0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-13 21:36:21 +0100 |
commit | 50eb6e5c04de14a5fb0dd99f99e165e1cb839460 (patch) | |
tree | 57f64795be17f0443c8c4f922e72268d00fa9ca3 /target-alpha/op_helper.c | |
parent | ffec44f14f5387d1d9f17323165041aee4540625 (diff) |
target-alpha: Expand ins*h inline.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-alpha/op_helper.c')
-rw-r--r-- | target-alpha/op_helper.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index b6ec0e8003..d7f4fb200c 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -185,24 +185,6 @@ uint64_t helper_zapnot(uint64_t val, uint64_t mask) return byte_zap(val, ~mask); } -uint64_t helper_inswh(uint64_t val, uint64_t mask) -{ - val >>= 64 - ((mask & 7) * 8); - return byte_zap(val, ~((0x03 << (mask & 7)) >> 8)); -} - -uint64_t helper_inslh(uint64_t val, uint64_t mask) -{ - val >>= 64 - ((mask & 7) * 8); - return byte_zap(val, ~((0x0F << (mask & 7)) >> 8)); -} - -uint64_t helper_insqh(uint64_t val, uint64_t mask) -{ - val >>= 64 - ((mask & 7) * 8); - return byte_zap(val, ~((0xFF << (mask & 7)) >> 8)); -} - uint64_t helper_cmpbge (uint64_t op1, uint64_t op2) { uint8_t opa, opb, res; |