diff options
author | Richard Henderson <rth@twiddle.net> | 2009-12-11 11:51:45 -0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-13 21:36:21 +0100 |
commit | 14ab16342990d7400da5d889f3594bd498fa2e31 (patch) | |
tree | 19e8bb6f1365bb469529971f2fa0d9d34ebf02e8 /target-alpha/op_helper.c | |
parent | 248c42f3939368e4b799947bdd31a36ff949e11a (diff) |
target-alpha: Expand msk*l inline.
Similar in difficulty to ext*l, already expanded.
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 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index d2e43a5e7b..591adbdc8f 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -175,21 +175,6 @@ static inline uint64_t byte_zap(uint64_t op, uint8_t mskb) return op & ~mask; } -uint64_t helper_mskbl(uint64_t val, uint64_t mask) -{ - return byte_zap(val, 0x01 << (mask & 7)); -} - -uint64_t helper_mskwl(uint64_t val, uint64_t mask) -{ - return byte_zap(val, 0x03 << (mask & 7)); -} - -uint64_t helper_mskll(uint64_t val, uint64_t mask) -{ - return byte_zap(val, 0x0F << (mask & 7)); -} - uint64_t helper_zap(uint64_t val, uint64_t mask) { return byte_zap(val, mask); @@ -200,11 +185,6 @@ uint64_t helper_zapnot(uint64_t val, uint64_t mask) return byte_zap(val, ~mask); } -uint64_t helper_mskql(uint64_t val, uint64_t mask) -{ - return byte_zap(val, 0xFF << (mask & 7)); -} - uint64_t helper_mskwh(uint64_t val, uint64_t mask) { return byte_zap(val, (0x03 << (mask & 7)) >> 8); |