isa_traits.hh (4581:23166f771fa4) isa_traits.hh (4587:2c9a2534a489)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

--- 79 unchanged lines hidden (view full) ---

88 //mmx/x87 registers
89 8 +
90 //xmm registers
91 16
92 };
93
94 // semantically meaningful register indices
95 //There is no such register in X86
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

--- 79 unchanged lines hidden (view full) ---

88 //mmx/x87 registers
89 8 +
90 //xmm registers
91 16
92 };
93
94 // semantically meaningful register indices
95 //There is no such register in X86
96 const int ZeroReg = 0;
96 const int ZeroReg = NUM_INTREGS;
97 const int StackPointerReg = INTREG_RSP;
98 //X86 doesn't seem to have a link register
99 const int ReturnAddressReg = 0;
100 const int ReturnValueReg = INTREG_RAX;
101 const int FramePointerReg = INTREG_RBP;
102 const int ArgumentReg0 = INTREG_RDI;
103 const int ArgumentReg1 = INTREG_RSI;
104 const int ArgumentReg2 = INTREG_RDX;

--- 25 unchanged lines hidden ---
97 const int StackPointerReg = INTREG_RSP;
98 //X86 doesn't seem to have a link register
99 const int ReturnAddressReg = 0;
100 const int ReturnValueReg = INTREG_RAX;
101 const int FramePointerReg = INTREG_RBP;
102 const int ArgumentReg0 = INTREG_RDI;
103 const int ArgumentReg1 = INTREG_RSI;
104 const int ArgumentReg2 = INTREG_RDX;

--- 25 unchanged lines hidden ---