diff options
author | malc <av1474@comtv.ru> | 2010-02-22 21:50:01 +0300 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2010-02-22 21:50:01 +0300 |
commit | 65fe043eb46de3e6195e9dda8e9fd2192b5b37a9 (patch) | |
tree | 87be6416645deb12b7b0da5521f3c05cd3b303b0 /tcg/ppc/tcg-target.h | |
parent | 30c0c76ce0a6915f0049d53d91b6a05c37cdfda7 (diff) |
tcg/ppc: Implement some of the optional ops
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'tcg/ppc/tcg-target.h')
-rw-r--r-- | tcg/ppc/tcg-target.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h index 71bc7c1d01..0c71a11038 100644 --- a/tcg/ppc/tcg-target.h +++ b/tcg/ppc/tcg-target.h @@ -78,17 +78,17 @@ enum { /* optional instructions */ #define TCG_TARGET_HAS_div_i32 -// #define TCG_TARGET_HAS_rot_i32 +#define TCG_TARGET_HAS_rot_i32 #define TCG_TARGET_HAS_ext8s_i32 #define TCG_TARGET_HAS_ext16s_i32 -// #define TCG_TARGET_HAS_ext8u_i32 -// #define TCG_TARGET_HAS_ext16u_i32 -// #define TCG_TARGET_HAS_bswap16_i32 -// #define TCG_TARGET_HAS_bswap32_i32 -// #define TCG_TARGET_HAS_not_i32 +#define TCG_TARGET_HAS_ext8u_i32 +#define TCG_TARGET_HAS_ext16u_i32 +/* #define TCG_TARGET_HAS_bswap16_i32 */ +/* #define TCG_TARGET_HAS_bswap32_i32 */ +#define TCG_TARGET_HAS_not_i32 #define TCG_TARGET_HAS_neg_i32 -// #define TCG_TARGET_HAS_andc_i32 -// #define TCG_TARGET_HAS_orc_i32 +#define TCG_TARGET_HAS_andc_i32 +#define TCG_TARGET_HAS_orc_i32 #define TCG_AREG0 TCG_REG_R27 #define TCG_AREG1 TCG_REG_R24 |