{
return do_vfp_3op_dp(s, gen_VNMUL_dp, a->vd, a->vn, a->vm, false);
}
+
+static bool trans_VADD_sp(DisasContext *s, arg_VADD_sp *a)
+{
+ return do_vfp_3op_sp(s, gen_helper_vfp_adds, a->vd, a->vn, a->vm, false);
+}
+
+static bool trans_VADD_dp(DisasContext *s, arg_VADD_sp *a)
+{
+ return do_vfp_3op_dp(s, gen_helper_vfp_addd, a->vd, a->vn, a->vm, false);
+}
tcg_temp_free_ptr(fpst); \
}
-VFP_OP2(add)
VFP_OP2(sub)
VFP_OP2(div)
rn = VFP_SREG_N(insn);
switch (op) {
- case 0 ... 5:
+ case 0 ... 6:
/* Already handled by decodetree */
return 1;
default:
for (;;) {
/* Perform the calculation. */
switch (op) {
- case 6: /* add: fn + fm */
- gen_vfp_add(dp);
- break;
case 7: /* sub: fn - fm */
gen_vfp_sub(dp);
break;
vm=%vm_sp vn=%vn_sp vd=%vd_sp
VNMUL_dp ---- 1110 0.10 .... .... 1011 .1.0 .... \
vm=%vm_dp vn=%vn_dp vd=%vd_dp
+
+VADD_sp ---- 1110 0.11 .... .... 1010 .0.0 .... \
+ vm=%vm_sp vn=%vn_sp vd=%vd_sp
+VADD_dp ---- 1110 0.11 .... .... 1011 .0.0 .... \
+ vm=%vm_dp vn=%vn_dp vd=%vd_dp