diff --git a/hblang/tests/son_tests_pointer_opts.txt b/hblang/tests/son_tests_pointer_opts.txt index e69de29b..fb6ad347 100644 --- a/hblang/tests/son_tests_pointer_opts.txt +++ b/hblang/tests/son_tests_pointer_opts.txt @@ -0,0 +1,23 @@ +clobber: + ADDI64 r254, r254, -16d + ST r31, r254, 0a, 16h + LI64 r32, 4d + ST r32, r2, 0a, 8h + LD r31, r254, 0a, 16h + ADDI64 r254, r254, 16d + JALA r0, r31, 0a +main: + ADDI64 r254, r254, -32d + ST r31, r254, 8a, 24h + LI64 r32, 2d + ADDI64 r2, r254, 0d + ST r32, r254, 0a, 8h + JAL r31, r0, :clobber + LD r33, r254, 0a, 8h + ADDI64 r1, r33, -4d + LD r31, r254, 8a, 24h + ADDI64 r254, r254, 32d + JALA r0, r31, 0a +code size: 214 +ret: 0 +status: Ok(())