equal
deleted
inserted
replaced
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, |