We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I think there is an issue with either the code that replaces the li pseudo instruction with lui and addi or one of this instructions is buggy.
To reproduce, enter this source code:
li x1, 1193046
The assembled output is:
lui x1 292 addi x1 x1 1110
Executing this code, I don't see the expected value of 1193046 in x1 but 1197142.
But, if I execute the following code, the result in x2 is correct.
lui x2, 292 addi x2, x2, 1110
Regards Joachim
The text was updated successfully, but these errors were encountered:
I suspect that you might be running an outdated version of Ripes.
li x1, 1193046 in the available continuous build assembles as
lui x1 291 addi x1 x1 1110
and executes to x1=0x00123456.
x1=0x00123456
Sorry, something went wrong.
Fixed in continuous with hash d3ac2c2. Thanks!
No branches or pull requests
Hi,
I think there is an issue with either the code that replaces the li pseudo instruction with lui and addi or one of this instructions is buggy.
To reproduce, enter this source code:
The assembled output is:
Executing this code, I don't see the expected value of 1193046 in x1 but 1197142.
But, if I execute the following code, the result in x2 is correct.
Regards
Joachim
The text was updated successfully, but these errors were encountered: