-
Notifications
You must be signed in to change notification settings - Fork 1
riscv_test_refine_thead_imm
Tsukasa OI edited this page Aug 15, 2023
·
4 revisions
- Status: Merged for Binutils 2.42
- Branch:
riscv-test-refine-thead-imm
- Tracking PR: #98 (view Pull Request and Diff)
- Mailing List:
On some T-Head vendor extensions, we test against the constant 18446744073709551615
(that is 2^64-1
) to detect invalid immediate errors on -1
.
However, it heavily depends on the fact that the value used to print immediate value is a 64-bit unsigned type and this constant is not (and should not be) important (we just want to know that -1
is not valid).
This branch replaces all such occurrences of 18446744073709551615
with a more generic regular expression.