hotspot/src/cpu/sparc/vm/c1_Defs_sparc.hpp
changeset 3683 bbf665be687c
parent 1 489c9b5090e2
child 5547 f4b087cbb361
equal deleted inserted replaced
3682:42de755d7d6e 3683:bbf665be687c
     1 /*
     1 /*
     2  * Copyright 2000-2005 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 2000-2009 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    36 
    36 
    37 
    37 
    38 // registers
    38 // registers
    39 enum {
    39 enum {
    40   pd_nof_cpu_regs_frame_map = 32,  // number of registers used during code emission
    40   pd_nof_cpu_regs_frame_map = 32,  // number of registers used during code emission
    41   pd_nof_caller_save_cpu_regs_frame_map = 6,  // number of cpu registers killed by calls
    41   pd_nof_caller_save_cpu_regs_frame_map = 10,  // number of cpu registers killed by calls
    42   pd_nof_cpu_regs_reg_alloc = 20,  // number of registers that are visible to register allocator
    42   pd_nof_cpu_regs_reg_alloc = 20,  // number of registers that are visible to register allocator
    43   pd_nof_cpu_regs_linearscan = 32,// number of registers visible linear scan
    43   pd_nof_cpu_regs_linearscan = 32,// number of registers visible linear scan
    44   pd_first_cpu_reg = 0,
    44   pd_first_cpu_reg = 0,
    45   pd_last_cpu_reg = 31,
    45   pd_last_cpu_reg = 31,
    46   pd_last_allocatable_cpu_reg = 19,
    46   pd_last_allocatable_cpu_reg = 19,