mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8312213: Remove unnecessary TEST instructions on x86 when flags reg will already be set
Reviewed-by: jvernee, dlong
This commit is contained in:
parent
1f4cdb327f
commit
aba89f20bf
14 changed files with 720 additions and 7 deletions
|
@ -2119,6 +2119,16 @@ public class IRNode {
|
|||
machOnlyNameRegex(X86_LOCK_XADDL, "xaddL");
|
||||
}
|
||||
|
||||
public static final String X86_TESTI_REG = PREFIX + "X86_TESTI_REG" + POSTFIX;
|
||||
static {
|
||||
machOnlyNameRegex(X86_TESTI_REG, "testI_reg");
|
||||
}
|
||||
|
||||
public static final String X86_TESTL_REG = PREFIX + "X86_TESTL_REG" + POSTFIX;
|
||||
static {
|
||||
machOnlyNameRegex(X86_TESTL_REG, "testL_reg");
|
||||
}
|
||||
|
||||
/*
|
||||
* Utility methods to set up IR_NODE_MAPPINGS.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue