summary refs log tree commit diff stats
path: root/target/hexagon/macros.h
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2023-04-05 09:42:11 -0700
committerTaylor Simpson <tsimpson@quicinc.com>2023-04-21 09:32:52 -0700
commit148ef7fd8d7ec0bc48668a6ec28584e18b76912d (patch)
tree70195c52fab39bfdbd1f1511ee2e50b4346cfe92 /target/hexagon/macros.h
parenta52584815e7adb2413893d2f5323bf7487c9117f (diff)
downloadfocaccia-qemu-148ef7fd8d7ec0bc48668a6ec28584e18b76912d.tar.gz
focaccia-qemu-148ef7fd8d7ec0bc48668a6ec28584e18b76912d.zip
Hexagon (target/hexagon) Updates to USR should use get_result_gpr
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230405164211.30015-3-tsimpson@quicinc.com>
Diffstat (limited to '')
-rw-r--r--target/hexagon/macros.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/target/hexagon/macros.h b/target/hexagon/macros.h
index f5f31b6930..21b5b5a06c 100644
--- a/target/hexagon/macros.h
+++ b/target/hexagon/macros.h
@@ -38,14 +38,6 @@
 #define TYPE_INT(X)          __builtin_types_compatible_p(typeof(X), int)
 #define TYPE_TCGV(X)         __builtin_types_compatible_p(typeof(X), TCGv)
 #define TYPE_TCGV_I64(X)     __builtin_types_compatible_p(typeof(X), TCGv_i64)
-
-#define SET_USR_FIELD_FUNC(X) \
-    __builtin_choose_expr(TYPE_INT(X), \
-        gen_set_usr_fieldi, \
-        __builtin_choose_expr(TYPE_TCGV(X), \
-            gen_set_usr_field, (void)0))
-#define SET_USR_FIELD(FIELD, VAL) \
-    SET_USR_FIELD_FUNC(VAL)(FIELD, VAL)
 #else
 #define GET_USR_FIELD(FIELD) \
     fEXTRACTU_BITS(env->gpr[HEX_REG_USR], reg_field_info[FIELD].width, \