[AArch64][llvm] Fix encoding for stshh instruction (#189588)
The encoding for `stshh` was incorrect, and has been fixed. This has been checked against the Arm ARM.
This commit is contained in:
parent
5a89da7d13
commit
aca71454e4
@ -1876,7 +1876,7 @@ class STSHHI
|
||||
: SimpleSystemI<0, (ins phint_op:$policy), "stshh", "\t$policy", []>,
|
||||
Sched<[WriteHint]> {
|
||||
bits<3> policy;
|
||||
let Inst{20-12} = 0b000011001;
|
||||
let Inst{20-12} = 0b000110010;
|
||||
let Inst{11-8} = 0b0110;
|
||||
let Inst{7-5} = policy;
|
||||
}
|
||||
|
||||
@ -10,11 +10,11 @@
|
||||
|
||||
stshh keep
|
||||
// CHECK-INST: stshh keep
|
||||
// CHECK-ENCODING: encoding: [0x1f,0x96,0x01,0xd5]
|
||||
// CHECK-ENCODING: encoding: [0x1f,0x26,0x03,0xd5]
|
||||
|
||||
stshh strm
|
||||
// CHECK-INST: stshh strm
|
||||
// CHECK-ENCODING: encoding: [0x3f,0x96,0x01,0xd5]
|
||||
// CHECK-ENCODING: encoding: [0x3f,0x26,0x03,0xd5]
|
||||
|
||||
prfm ir, [x0]
|
||||
// CHECK-INST: prfm ir, [x0]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user