Fixed add and sub instruction encoding on arm64
This commit is contained in:
@ -14,8 +14,10 @@ func TestCompareRegisterNumber(t *testing.T) {
|
||||
Number int
|
||||
Code uint32
|
||||
}{
|
||||
{arm.X0, 0, 0xF100001F},
|
||||
{arm.X0, 1, 0xF100041F},
|
||||
{arm.X0, -1, 0xB100041F},
|
||||
{arm.X0, 0x1000, 0xF140041F},
|
||||
}
|
||||
|
||||
for _, pattern := range usagePatterns {
|
||||
|
Reference in New Issue
Block a user