Allow the optional limitation on dmb instructions as is already the case

with dsb instructions.
This commit is contained in:
Andrew Turner 2014-10-03 12:14:19 +00:00
parent baf9297e87
commit 671302a908
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272472

View File

@ -6571,6 +6571,7 @@ do_barrier (void)
if (inst.operands[0].present)
{
constraint ((inst.instruction & 0xf0) != 0x40
&& (inst.instruction & 0xf0) != 0x50
&& inst.operands[0].imm != 0xf,
"bad barrier type");
inst.instruction |= inst.operands[0].imm;