Firm Bugtracker - libFirm
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Severity:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
188 |
optimisations |
feature |
N/A |
2017-06-09 05:07 |
2017-06-09 05:07 |
|
Reporter:
|
Matze |
Platform:
|
|
|
Assigned To:
|
|
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
new |
Product Version:
|
|
|
Product Build:
|
|
Resolution:
|
open |
|
Projection:
|
none |
|
|
|
ETA:
|
none |
Fixed in Version:
|
|
|
|
Summary:
|
0000188: localopt: x % (1 << y) |
Description:
|
I think we should be able to replace `x % (1 << y)` with `x & ((1 << y)-1)` (at least for unsigned x, not sure right now about signed x). |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | |
Attached Files:
|
|
|
Issue History |
Date Modified |
Username |
Field |
Change |
2017-06-09 05:07 |
Matze |
New Issue |
|