|
Quick Lists
|
|
Bug ID:
|
6752257
|
|
Votes
|
0
|
|
Synopsis
|
Use NOT instead of XOR -1 on x86
|
|
Category
|
hotspot:compiler2
|
|
Reported Against
|
|
|
Release Fixed
|
hs14(b06)
|
|
State
|
10-Fix Delivered,
request for enhancement
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
|
|
Submit Date
|
24-SEP-2008
|
|
Description
|
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.
Posted Date : 2008-09-24 21:33:43.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
Give it a try.
Posted Date : 2008-09-24 21:33:43.0
http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b744678d4d71
Posted Date : 2008-10-10 19:26:35.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |