diff options
Diffstat (limited to 'tests/test-progs')
-rwxr-xr-x | tests/test-progs/insttest/bin/riscv/linux-rv64i/insttest | bin | 14034904 -> 14035216 bytes | |||
-rw-r--r-- | tests/test-progs/insttest/src/riscv/rv64i.cpp | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-progs/insttest/bin/riscv/linux-rv64i/insttest b/tests/test-progs/insttest/bin/riscv/linux-rv64i/insttest Binary files differindex a6e5d0203..c5a21739d 100755 --- a/tests/test-progs/insttest/bin/riscv/linux-rv64i/insttest +++ b/tests/test-progs/insttest/bin/riscv/linux-rv64i/insttest diff --git a/tests/test-progs/insttest/src/riscv/rv64i.cpp b/tests/test-progs/insttest/src/riscv/rv64i.cpp index 95e8ee02a..cfe5e298d 100644 --- a/tests/test-progs/insttest/src/riscv/rv64i.cpp +++ b/tests/test-progs/insttest/src/riscv/rv64i.cpp @@ -137,6 +137,7 @@ int main() // SLTIU expect<bool>(false, []{return I::sltiu(-1, 0);}, "sltiu, false"); expect<bool>(true, []{return I::sltiu(0, -1);}, "sltiu, true"); + expect<bool>(true, []{return I::sltiu(0xFFFF, -1);}, "sltiu, sext"); // XORI expect<uint64_t>(0xFF, []{return I::xori(0xAA, 0x55);}, "xori (1)"); |