mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 05:40:09 +00:00
Fix: Src operand is not the out operand
This commit is contained in:
parent
139e42930c
commit
600a1b3d97
@ -11785,7 +11785,7 @@ class BaseCASEncoding<dag oops, dag iops, string asm, string operands,
|
||||
class BaseCAS<string order, string size, RegisterClass RC>
|
||||
: BaseCASEncoding<(outs RC:$out),(ins RC:$Rs, RC:$Rt, GPR64sp:$Rn),
|
||||
"cas" # order # size, "\t$Rs, $Rt, [$Rn]",
|
||||
"$out = $Rs",[]>,
|
||||
"$out = $Rn",[]>,
|
||||
Sched<[WriteAtomic]> {
|
||||
let NP = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user