Add more test coverage for RGBASM (#1256)

This also fixes two bugs: `-1 >>> 32` was -1 not 0, and `macro_FreeArgs` should have been called but wasn't.
This commit is contained in:
Rangi
2023-11-29 15:16:05 -05:00
committed by GitHub
parent b46aa0f55b
commit cee3d1c859
51 changed files with 238 additions and 80 deletions

View File

@@ -24,5 +24,19 @@ warning: shift.asm(25) -> shift.asm::test(8): [-Wshift]
Shifting right negative value -1
warning: shift.asm(25) -> shift.asm::test(8): [-Wshift-amount]
Shifting right by negative amount -9001
warning: shift.asm(27) -> shift.asm::test(8): [-Wshift]
warning: shift.asm(27) -> shift.asm::test(8): [-Wshift-amount]
Shifting left by negative amount -2
warning: shift.asm(28) -> shift.asm::test(8): [-Wshift-amount]
Shifting right by negative amount -2
warning: shift.asm(31) -> shift.asm::test(8): [-Wshift-amount]
Shifting right by negative amount -16
warning: shift.asm(32) -> shift.asm::test(8): [-Wshift-amount]
Shifting right by large amount 32
warning: shift.asm(33) -> shift.asm::test(8): [-Wshift-amount]
Shifting right by negative amount -32
warning: shift.asm(34) -> shift.asm::test(8): [-Wshift-amount]
Shifting right by large amount 32
warning: shift.asm(35) -> shift.asm::test(8): [-Wshift-amount]
Shifting right by negative amount -32
warning: shift.asm(37) -> shift.asm::test(8): [-Wshift]
Shifting right negative value -559038737