Fixed comparison with negative numbers on arm64

This commit is contained in:
Eduard Urbach 2025-03-14 11:14:42 +01:00
parent 716cc6dddd
commit f2f38f2ee9
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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 {