Fixed comparison with negative numbers on arm64

This commit is contained in:
2025-03-14 11:14:42 +01:00
parent 9726f1d832
commit 9410287605
5 changed files with 40 additions and 23 deletions

View File

@ -15,6 +15,7 @@ func TestCompareRegisterNumber(t *testing.T) {
Code uint32
}{
{arm.X0, 1, 0xF100041F},
{arm.X0, -1, 0xB100041F},
}
for _, pattern := range usagePatterns {