for clobbers. Remove obsolete comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264216
138bc75d-0d04-0410-961f-
82ee72b054a4
+2018-09-11 Uros Bizjak <ubizjak@gmail.com>
+
+ * reg-stack.c (subst_asm_stack_regs): Call replace_reg also
+ for clobbers. Remove obsolete comment.
+
2018-09-11 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (define_attr "type"): Remove mpxmov, mpxmk,
int regnum = get_hard_regnum (regstack, clobber_reg[i]);
if (regnum >= 0)
- {
- /* Sigh - clobbers always have QImode. But replace_reg knows
- that these regs can't be MODE_INT and will assert. Just put
- the right reg there without calling replace_reg. */
-
- *clobber_loc[i] = FP_MODE_REG (regnum, DFmode);
- }
+ replace_reg (clobber_loc[i], regnum);
}
/* Now remove from REGSTACK any inputs that the asm implicitly popped. */