diff options
Diffstat (limited to 'testes/code.lua')
| -rw-r--r-- | testes/code.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testes/code.lua b/testes/code.lua index 642dfa68..ab531fa8 100644 --- a/testes/code.lua +++ b/testes/code.lua | |||
| @@ -293,6 +293,7 @@ checkK(function () return -(border + 1) end, -(sbx + 1.0)) | |||
| 293 | 293 | ||
| 294 | -- immediate operands | 294 | -- immediate operands |
| 295 | checkR(function (x) return x + k1 end, 10, 11, 'ADDI', 'MMBINI', 'RETURN1') | 295 | checkR(function (x) return x + k1 end, 10, 11, 'ADDI', 'MMBINI', 'RETURN1') |
| 296 | checkR(function (x) return x - 127 end, 10, -117, 'ADDI', 'MMBINI', 'RETURN1') | ||
| 296 | checkR(function (x) return 128 + x end, 0.0, 128.0, | 297 | checkR(function (x) return 128 + x end, 0.0, 128.0, |
| 297 | 'ADDI', 'MMBINI', 'RETURN1') | 298 | 'ADDI', 'MMBINI', 'RETURN1') |
| 298 | checkR(function (x) return x * -127 end, -1.0, 127.0, | 299 | checkR(function (x) return x * -127 end, -1.0, 127.0, |
