Set clobbers_flags to False for urm_noflags_abcd.

`urm_noflags` is a variant of `urm` which doesn't clobber the flags, and
`urm_noflags_abcd` is a further variant for ABCD registers, so it also
doesn't clobber the flags.
This commit is contained in:
Dan Gohman
2018-06-05 11:23:57 -07:00
parent eb94664285
commit 970045c309
4 changed files with 57 additions and 0 deletions

View File

@@ -389,6 +389,7 @@ urm_noflags = TailRecipe(
urm_noflags_abcd = TailRecipe(
'urm_noflags_abcd', Unary, size=1, ins=ABCD, outs=GPR,
when_prefixed=urm_noflags,
clobbers_flags=False,
emit='''
PUT_OP(bits, rex2(in_reg0, out_reg0), sink);
modrm_rr(in_reg0, out_reg0, sink);