Bug 174821
| Summary: | B3 / Air on ARM64: use ZR register more | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | JF Bastien <jfbastien> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | fpizlo, jfbastien, keith_miller, mark.lam, msaboff, saam, yijia_huang |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 174818 | ||
| Bug Blocks: | |||
JF Bastien
B3 and Air don't really know about the ZR register. In #174818 I add storeZero64 which complements storeZero32, but really these are both hacks. The right way to do this is to add a new ImmZero operand, and add overloads on ARM64 to AirOpcode.opcodes. This is tricky to do because ARM64 means either SP or ZR depending on the instruction. That's why just doing store is so easy and hack, but kinda silly.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Yijia Huang
This issue is fixed in https://bugs.webkit.org/show_bug.cgi?id=227510.
Yijia Huang
*** This bug has been marked as a duplicate of bug 227510 ***