src/os_cpu/linux_x86/vm/linux_x86_32.ad

changeset 855
a1980da045cc
parent 435
a61af66fc99e
child 905
ad8c8ca4ab0f
     1.1 --- a/src/os_cpu/linux_x86/vm/linux_x86_32.ad	Thu Nov 06 20:00:03 2008 -0800
     1.2 +++ b/src/os_cpu/linux_x86/vm/linux_x86_32.ad	Fri Nov 07 09:29:38 2008 -0800
     1.3 @@ -103,16 +103,16 @@
     1.4  // This name is KNOWN by the ADLC and cannot be changed.
     1.5  // The ADLC forces a 'TypeRawPtr::BOTTOM' output type
     1.6  // for this guy.
     1.7 -instruct tlsLoadP(eAXRegP dst, eFlagsReg cr) %{
     1.8 +instruct tlsLoadP(eRegP dst, eFlagsReg cr) %{
     1.9    match(Set dst (ThreadLocal));
    1.10    effect(DEF dst, KILL cr);
    1.11  
    1.12 -  format %{ "MOV    EAX, Thread::current()" %}
    1.13 +  format %{ "MOV    $dst, Thread::current()" %}
    1.14    ins_encode( linux_tlsencode(dst) );
    1.15    ins_pipe( ialu_reg_fat );
    1.16  %}
    1.17  
    1.18 -instruct TLS(eAXRegP dst) %{
    1.19 +instruct TLS(eRegP dst) %{
    1.20    match(Set dst (ThreadLocal));
    1.21  
    1.22    expand %{

mercurial