Assisted-by: GLM 5.3
This commit is contained in:
+4
-4
@@ -1487,10 +1487,10 @@ func (e *enc) encodeEvexMove(mnem string, ms evexMoveSpec, ops []Operand, mask i
|
|||||||
if !ms.nds3 {
|
if !ms.nds3 {
|
||||||
return fmt.Errorf("EVEX move expects 2 operands, got %d", len(ops))
|
return fmt.Errorf("EVEX move expects 2 operands, got %d", len(ops))
|
||||||
}
|
}
|
||||||
// The masked scalar register form keeps the Go assembler's own
|
// The masked scalar register form keeps the Go assembler's own
|
||||||
// layout: the store opcode with reg = op0, vvvv = op1 and the
|
// layout: the store opcode with reg = op0, vvvv = op1 and the
|
||||||
// destination in r/m (op2), the bytes go tool asm emits, not
|
// destination in r/m (op2), the bytes go tool asm emits, not
|
||||||
// the manual's NDS reading.
|
// the manual's NDS reading.
|
||||||
src, src1, dst := ops[0], ops[1], ops[2]
|
src, src1, dst := ops[0], ops[1], ops[2]
|
||||||
reg, ok := src.(Reg)
|
reg, ok := src.(Reg)
|
||||||
if !ok || !reg.isVec() {
|
if !ok || !reg.isVec() {
|
||||||
|
|||||||
Reference in New Issue
Block a user