RFR(S): 8206107: [x86_32] jck tests for ldc2_w bytecode fail

Boris Ulasevich boris.ulasevich at bell-sw.com
Mon Dec 10 11:35:47 UTC 2018


Hi all,

Please review following fix in x86_32 ldc2_w template generator:

http://cr.openjdk.java.net/~bulasevich/8206107/webrev.00
http://bugs.openjdk.java.net/browse/JDK-8206107

We need to reorder instructions to avoid usage of broken eax value:
   const Register obj = rax;
   const Register off = rbx;
   const Address field(obj, off, Address::times_1, 0*wordSize);
   ..
   __ movptr(rax, field);                        //    mov 
(%eax,%ebx,1),%eax
   NOT_LP64(__ movptr(rdx, field.plus_disp(4))); // => mov 
0x4(%eax,%ebx,1),%edx

thanks,
Boris


More information about the hotspot-compiler-dev mailing list