@@ -53,8 +53,8 @@ class InterpreterMacroAssembler: public MacroAssembler {
53
53
54
54
public:
55
55
InterpreterMacroAssembler (CodeBuffer* code) : MacroAssembler(code),
56
- _locals_register (LP64_ONLY( r14) NOT_LP64(rdi) ),
57
- _bcp_register(LP64_ONLY( r13) NOT_LP64(rsi) ) {}
56
+ _locals_register (r14),
57
+ _bcp_register(r13) {}
58
58
59
59
void jump_to_entry (address entry);
60
60
@@ -121,9 +121,6 @@ class InterpreterMacroAssembler: public MacroAssembler {
121
121
Register cpool, // the constant pool (corrupted on return)
122
122
Register index); // the constant pool index (corrupted on return)
123
123
124
- NOT_LP64 (void f2ieee ();) // truncate ftos to 32bits
125
- NOT_LP64(void d2ieee ();) // truncate dtos to 64bits
126
-
127
124
// Expression stack
128
125
void pop_ptr (Register r = rax);
129
126
void pop_i (Register r = rax);
@@ -143,18 +140,8 @@ class InterpreterMacroAssembler: public MacroAssembler {
143
140
void pop_f (XMMRegister r);
144
141
void pop_d (XMMRegister r);
145
142
void push_d (XMMRegister r);
146
- #ifdef _LP64
147
143
void pop_l (Register r = rax);
148
144
void push_l (Register r = rax);
149
- #else
150
- void pop_l (Register lo = rax, Register hi = rdx);
151
- void pop_f ();
152
- void pop_d ();
153
-
154
- void push_l (Register lo = rax, Register hi = rdx);
155
- void push_d ();
156
- void push_f ();
157
- #endif // _LP64
158
145
159
146
void pop (Register r) { ((MacroAssembler*)this )->pop (r); }
160
147
void push (Register r) { ((MacroAssembler*)this )->push (r); }
@@ -168,7 +155,6 @@ class InterpreterMacroAssembler: public MacroAssembler {
168
155
lea (rsp, Address (rbp, rcx, Address::times_ptr));
169
156
// null last_sp until next java call
170
157
movptr (Address (rbp, frame::interpreter_frame_last_sp_offset * wordSize), NULL_WORD);
171
- NOT_LP64 (empty_FPU_stack ());
172
158
}
173
159
174
160
// Helpers for swap and dup
@@ -273,8 +259,6 @@ class InterpreterMacroAssembler: public MacroAssembler {
273
259
// only if +VerifyOops && state == atos
274
260
#define interp_verify_oop (reg, state ) _interp_verify_oop(reg, state, __FILE__, __LINE__);
275
261
void _interp_verify_oop (Register reg, TosState state, const char * file, int line);
276
- // only if +VerifyFPU && (state == ftos || state == dtos)
277
- void verify_FPU (int stack_depth, TosState state = ftos);
278
262
279
263
typedef enum { NotifyJVMTI, SkipNotifyJVMTI } NotifyMethodExitMode;
280
264
0 commit comments