提交 d3f137e3 编写于 作者: A Aurelien Jarno

tcg/arm: merge the two sets of #define for optional ops

Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 023e77f8
...@@ -26,14 +26,6 @@ ...@@ -26,14 +26,6 @@
#define TCG_TARGET_REG_BITS 32 #define TCG_TARGET_REG_BITS 32
#undef TCG_TARGET_WORDS_BIGENDIAN #undef TCG_TARGET_WORDS_BIGENDIAN
#undef TCG_TARGET_HAS_div_i32
#undef TCG_TARGET_HAS_div_i64
#undef TCG_TARGET_HAS_bswap32_i32
#define TCG_TARGET_HAS_ext8s_i32
#define TCG_TARGET_HAS_ext16s_i32
#define TCG_TARGET_HAS_neg_i32
#undef TCG_TARGET_HAS_neg_i64
#define TCG_TARGET_HAS_not_i32
#undef TCG_TARGET_STACK_GROWSUP #undef TCG_TARGET_STACK_GROWSUP
enum { enum {
...@@ -64,16 +56,15 @@ enum { ...@@ -64,16 +56,15 @@ enum {
#define TCG_TARGET_CALL_STACK_OFFSET 0 #define TCG_TARGET_CALL_STACK_OFFSET 0
/* optional instructions */ /* optional instructions */
// #define TCG_TARGET_HAS_div_i32 #define TCG_TARGET_HAS_ext8s_i32
// #define TCG_TARGET_HAS_rot_i32 #define TCG_TARGET_HAS_ext16s_i32
// #define TCG_TARGET_HAS_ext8s_i32
// #define TCG_TARGET_HAS_ext16s_i32
// #define TCG_TARGET_HAS_ext8u_i32 // #define TCG_TARGET_HAS_ext8u_i32
// #define TCG_TARGET_HAS_ext16u_i32 // #define TCG_TARGET_HAS_ext16u_i32
// #define TCG_TARGET_HAS_bswap16_i32 // #define TCG_TARGET_HAS_bswap16_i32
// #define TCG_TARGET_HAS_bswap32_i32 // #define TCG_TARGET_HAS_bswap32_i32
// #define TCG_TARGET_HAS_not_i32 #define TCG_TARGET_HAS_not_i32
// #define TCG_TARGET_HAS_neg_i32 #define TCG_TARGET_HAS_neg_i32
// #define TCG_TARGET_HAS_rot_i32
// #define TCG_TARGET_HAS_andc_i32 // #define TCG_TARGET_HAS_andc_i32
// #define TCG_TARGET_HAS_orc_i32 // #define TCG_TARGET_HAS_orc_i32
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册