Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2177297 | 7 | Erik Trimble | P3 | Closed | Fixed | b39 |
JDK-2172797 | 6u14 | Abhijit Saha | P3 | Resolved | Fixed | b01 |
On x86, use NOT instead of XOR -1 when possible.
XOR reg, -1 is 3 bytes, while NOT reg is 2 bytes. Both are 1 cycle. Don't expect earth shattering gains but it is smaller code.
XOR reg, -1 is 3 bytes, while NOT reg is 2 bytes. Both are 1 cycle. Don't expect earth shattering gains but it is smaller code.
- backported by
-
JDK-2172797 Use NOT instead of XOR -1 on x86
-
- Resolved
-
-
JDK-2177297 Use NOT instead of XOR -1 on x86
-
- Closed
-