aboutsummaryrefslogtreecommitdiff
path: root/target/arm/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/arm/translate.c')
-rw-r--r--target/arm/translate.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/arm/translate.c b/target/arm/translate.c
index 610659041f..664e3b52fe 100644
--- a/target/arm/translate.c
+++ b/target/arm/translate.c
@@ -1386,7 +1386,6 @@ static inline void gen_vfp_##name(int dp) \
tcg_temp_free_ptr(fpst); \
}
-VFP_OP2(sub)
VFP_OP2(div)
#undef VFP_OP2
@@ -3110,7 +3109,7 @@ static int disas_vfp_insn(DisasContext *s, uint32_t insn)
rn = VFP_SREG_N(insn);
switch (op) {
- case 0 ... 6:
+ case 0 ... 7:
/* Already handled by decodetree */
return 1;
default:
@@ -3296,9 +3295,6 @@ static int disas_vfp_insn(DisasContext *s, uint32_t insn)
for (;;) {
/* Perform the calculation. */
switch (op) {
- case 7: /* sub: fn - fm */
- gen_vfp_sub(dp);
- break;
case 8: /* div: fn / fm */
gen_vfp_div(dp);
break;