SUGGESTED FIX
The fix is trivial and produces the expected output:
--- test.bbef4344adb2/src/cpu/x86/vm/x86_64.ad 2009-02-16 13:58:14.166262213 +0100
+++ /export/home/twisti/hotspot-comp/test/src/cpu/x86/vm/x86_64.ad 2009-02-16 13:37:43.595432518 +0100
@@ -9490,14 +9490,14 @@ instruct andL_rReg_imm255(rRegL dst, imm
%{
match(Set dst (AndL dst src));
- format %{ "movzbq $dst, $src\t# long & 0xFF" %}
+ format %{ "movzbq $dst, $dst\t# long & 0xFF" %}
opcode(0x0F, 0xB6);
ins_encode(REX_reg_reg_wide(dst, dst), OpcP, OpcS, reg_reg(dst, dst));
ins_pipe(ialu_reg);
%}
// And Register with Immediate 65535
-instruct andL_rReg_imm65535(rRegI dst, immL_65535 src)
+instruct andL_rReg_imm65535(rRegL dst, immL_65535 src)
%{
match(Set dst (AndL dst src));
|