1 /*
2 * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
32
33 REGISTER_DEFINITION(Register, noreg);
34 REGISTER_DEFINITION(Register, rax);
35 REGISTER_DEFINITION(Register, rcx);
36 REGISTER_DEFINITION(Register, rdx);
37 REGISTER_DEFINITION(Register, rbx);
38 REGISTER_DEFINITION(Register, rsp);
39 REGISTER_DEFINITION(Register, rbp);
40 REGISTER_DEFINITION(Register, rsi);
41 REGISTER_DEFINITION(Register, rdi);
42 #ifdef AMD64
43 REGISTER_DEFINITION(Register, r8);
44 REGISTER_DEFINITION(Register, r9);
45 REGISTER_DEFINITION(Register, r10);
46 REGISTER_DEFINITION(Register, r11);
47 REGISTER_DEFINITION(Register, r12);
48 REGISTER_DEFINITION(Register, r13);
49 REGISTER_DEFINITION(Register, r14);
50 REGISTER_DEFINITION(Register, r15);
51 #endif // AMD64
52
53 REGISTER_DEFINITION(XMMRegister, xnoreg);
54 REGISTER_DEFINITION(XMMRegister, xmm0 );
55 REGISTER_DEFINITION(XMMRegister, xmm1 );
56 REGISTER_DEFINITION(XMMRegister, xmm2 );
57 REGISTER_DEFINITION(XMMRegister, xmm3 );
58 REGISTER_DEFINITION(XMMRegister, xmm4 );
59 REGISTER_DEFINITION(XMMRegister, xmm5 );
60 REGISTER_DEFINITION(XMMRegister, xmm6 );
61 REGISTER_DEFINITION(XMMRegister, xmm7 );
62 #ifdef AMD64
63 REGISTER_DEFINITION(XMMRegister, xmm8);
64 REGISTER_DEFINITION(XMMRegister, xmm9);
65 REGISTER_DEFINITION(XMMRegister, xmm10);
66 REGISTER_DEFINITION(XMMRegister, xmm11);
67 REGISTER_DEFINITION(XMMRegister, xmm12);
68 REGISTER_DEFINITION(XMMRegister, xmm13);
69 REGISTER_DEFINITION(XMMRegister, xmm14);
70 REGISTER_DEFINITION(XMMRegister, xmm15);
71 REGISTER_DEFINITION(XMMRegister, xmm16);
|
1 /*
2 * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
32
33 REGISTER_DEFINITION(Register, noreg);
34 REGISTER_DEFINITION(Register, rax);
35 REGISTER_DEFINITION(Register, rcx);
36 REGISTER_DEFINITION(Register, rdx);
37 REGISTER_DEFINITION(Register, rbx);
38 REGISTER_DEFINITION(Register, rsp);
39 REGISTER_DEFINITION(Register, rbp);
40 REGISTER_DEFINITION(Register, rsi);
41 REGISTER_DEFINITION(Register, rdi);
42 #ifdef AMD64
43 REGISTER_DEFINITION(Register, r8);
44 REGISTER_DEFINITION(Register, r9);
45 REGISTER_DEFINITION(Register, r10);
46 REGISTER_DEFINITION(Register, r11);
47 REGISTER_DEFINITION(Register, r12);
48 REGISTER_DEFINITION(Register, r13);
49 REGISTER_DEFINITION(Register, r14);
50 REGISTER_DEFINITION(Register, r15);
51 #endif // AMD64
52
53 REGISTER_DEFINITION(FloatRegister, fnoreg);
54
55 REGISTER_DEFINITION(XMMRegister, xnoreg);
56 REGISTER_DEFINITION(XMMRegister, xmm0 );
57 REGISTER_DEFINITION(XMMRegister, xmm1 );
58 REGISTER_DEFINITION(XMMRegister, xmm2 );
59 REGISTER_DEFINITION(XMMRegister, xmm3 );
60 REGISTER_DEFINITION(XMMRegister, xmm4 );
61 REGISTER_DEFINITION(XMMRegister, xmm5 );
62 REGISTER_DEFINITION(XMMRegister, xmm6 );
63 REGISTER_DEFINITION(XMMRegister, xmm7 );
64 #ifdef AMD64
65 REGISTER_DEFINITION(XMMRegister, xmm8);
66 REGISTER_DEFINITION(XMMRegister, xmm9);
67 REGISTER_DEFINITION(XMMRegister, xmm10);
68 REGISTER_DEFINITION(XMMRegister, xmm11);
69 REGISTER_DEFINITION(XMMRegister, xmm12);
70 REGISTER_DEFINITION(XMMRegister, xmm13);
71 REGISTER_DEFINITION(XMMRegister, xmm14);
72 REGISTER_DEFINITION(XMMRegister, xmm15);
73 REGISTER_DEFINITION(XMMRegister, xmm16);
|