hotspot/src/os_cpu/solaris_sparc/vm/solaris_sparc.s
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    31     !! The reader might be tempted to move this service to .il.
    31     !! The reader might be tempted to move this service to .il.
    32     !! Don't.  Sun's CC back-end reads and optimize code emitted 
    32     !! Don't.  Sun's CC back-end reads and optimize code emitted 
    33     !! by the .il "call", in some cases optimizing the code, completely eliding it,
    33     !! by the .il "call", in some cases optimizing the code, completely eliding it,
    34     !! or by moving the code from the "call site". 
    34     !! or by moving the code from the "call site". 
    35         
    35         
    36 
    36      !! ASM better know we may use G6 for our own purposes
       
    37     .register %g6, #ignore
       
    38         
    37     .globl  SafeFetch32
    39     .globl  SafeFetch32
    38     .align  32
    40     .align  32
    39     .global Fetch32PFI, Fetch32Resume 
    41     .global Fetch32PFI, Fetch32Resume 
    40 SafeFetch32:
    42 SafeFetch32:
    41     mov     %o0, %g1
    43     mov     %o0, %g1
   104  
   106  
   105   
   107   
   106     .globl _raw_thread_id
   108     .globl _raw_thread_id
   107     .align 32
   109     .align 32
   108  _raw_thread_id:
   110  _raw_thread_id:
       
   111     .register %g7, #scratch
   109         retl
   112         retl
   110         mov     %g7, %o0
   113         mov     %g7, %o0
   111  
   114  
   112 
   115 
   113     .globl _flush_reg_windows
   116     .globl _flush_reg_windows