New issue
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
Incorrect code generated for Bytes.get_int64_le on ppc64 #10302
Comments
Well spotted. We need to be more careful during instruction selection and not select the |
Seems to me that the gnu assembler here might be more strict, from the PowerPC ISA Document I can get the following restriction for load/stores with DS-FORM:
|
I read this documentation as "in assembly language, the offset is given in bytes, but it must be a multiple of 4 because in the opcode it is stored as a word offset". So, the GNU assembler is doing the right thing by rejecting |
Make sense, that is by the way the only place were I could find any restriction in the ISA Manual. |
Fixed by #10303 . |
on ppc64 generates:
which gives assembler error "operand out of domain (1 is not a multiple of 4)".
The text was updated successfully, but these errors were encountered: