bjorn3 labeled Issue #2679:
Thanks for filing an issue! Please fill out the TODOs below.
Steps to Reproduce
- Codegen
1u128 << 0
usingishl.i128
Expected Results
The resulting value is 1.
Actual Results
The resulting value is 0x10000000000000001.
Versions and Environment
Cranelift version or commit: 98d3e6823f700aace38631c05f3afab3c5b07c76
Operating system: N/A
Architecture: x86_64
Extra Info
This only happens for a zero shift amount. Any other amount is fine.
bjorn3 labeled Issue #2679:
Thanks for filing an issue! Please fill out the TODOs below.
Steps to Reproduce
- Codegen
1u128 << 0
usingishl.i128
Expected Results
The resulting value is 1.
Actual Results
The resulting value is 0x10000000000000001.
Versions and Environment
Cranelift version or commit: 98d3e6823f700aace38631c05f3afab3c5b07c76
Operating system: N/A
Architecture: x86_64
Extra Info
This only happens for a zero shift amount. Any other amount is fine.
bjorn3 opened Issue #2679:
Thanks for filing an issue! Please fill out the TODOs below.
Steps to Reproduce
- Codegen
1u128 << 0
usingishl.i128
Expected Results
The resulting value is 1.
Actual Results
The resulting value is 0x10000000000000001.
Versions and Environment
Cranelift version or commit: 98d3e6823f700aace38631c05f3afab3c5b07c76
Operating system: N/A
Architecture: x86_64
Extra Info
This only happens for a zero shift amount. Any other amount is fine.
bjorn3 edited Issue #2679:
Steps to Reproduce
- Codegen
1u128 << 0
usingishl.i128
Expected Results
The resulting value is 1.
Actual Results
The resulting value is 0x10000000000000001.
Versions and Environment
Cranelift version or commit: 98d3e6823f700aace38631c05f3afab3c5b07c76
Operating system: N/A
Architecture: x86_64
Extra Info
This only happens for a zero shift amount. Any other amount is fine.
bjorn3 commented on Issue #2679:
This is responsible for the miscompilation of https://github.com/bjorn3/rustc_codegen_cranelift/issues/1143.
cfallin commented on Issue #2679:
Closed with #2682.
cfallin closed Issue #2679:
Steps to Reproduce
- Codegen
1u128 << 0
usingishl.i128
Expected Results
The resulting value is 1.
Actual Results
The resulting value is 0x10000000000000001.
Versions and Environment
Cranelift version or commit: 98d3e6823f700aace38631c05f3afab3c5b07c76
Operating system: N/A
Architecture: x86_64
Extra Info
This only happens for a zero shift amount. Any other amount is fine.
Last updated: Dec 23 2024 at 12:05 UTC