1.1 --- a/src/cpu/sparc/vm/macroAssembler_sparc.hpp Fri Jun 07 11:43:53 2013 -0700 1.2 +++ b/src/cpu/sparc/vm/macroAssembler_sparc.hpp Fri Jun 07 16:46:37 2013 -0700 1.3 @@ -1056,13 +1056,6 @@ 1.4 1.5 void breakpoint_trap(); 1.6 void breakpoint_trap(Condition c, CC cc); 1.7 - void flush_windows_trap(); 1.8 - void clean_windows_trap(); 1.9 - void get_psr_trap(); 1.10 - void set_psr_trap(); 1.11 - 1.12 - // V8/V9 flush_windows 1.13 - void flush_windows(); 1.14 1.15 // Support for serializing memory accesses between threads 1.16 void serialize_memory(Register thread, Register tmp1, Register tmp2); 1.17 @@ -1071,14 +1064,6 @@ 1.18 void enter(); 1.19 void leave(); 1.20 1.21 - // V8/V9 integer multiply 1.22 - void mult(Register s1, Register s2, Register d); 1.23 - void mult(Register s1, int simm13a, Register d); 1.24 - 1.25 - // V8/V9 read and write of condition codes. 1.26 - void read_ccr(Register d); 1.27 - void write_ccr(Register s); 1.28 - 1.29 // Manipulation of C++ bools 1.30 // These are idioms to flag the need for care with accessing bools but on 1.31 // this platform we assume byte size 1.32 @@ -1162,21 +1147,6 @@ 1.33 // check_and_forward_exception to handle exceptions when it is safe 1.34 void check_and_forward_exception(Register scratch_reg); 1.35 1.36 - private: 1.37 - // For V8 1.38 - void read_ccr_trap(Register ccr_save); 1.39 - void write_ccr_trap(Register ccr_save1, Register scratch1, Register scratch2); 1.40 - 1.41 -#ifdef ASSERT 1.42 - // For V8 debugging. Uses V8 instruction sequence and checks 1.43 - // result with V9 insturctions rdccr and wrccr. 1.44 - // Uses Gscatch and Gscatch2 1.45 - void read_ccr_v8_assert(Register ccr_save); 1.46 - void write_ccr_v8_assert(Register ccr_save); 1.47 -#endif // ASSERT 1.48 - 1.49 - public: 1.50 - 1.51 // Write to card table for - register is destroyed afterwards. 1.52 void card_table_write(jbyte* byte_map_base, Register tmp, Register obj); 1.53 1.54 @@ -1314,20 +1284,9 @@ 1.55 FloatRegister Fa, FloatRegister Fb, 1.56 Register Rresult); 1.57 1.58 - void fneg( FloatRegisterImpl::Width w, FloatRegister s, FloatRegister d); 1.59 - void fneg( FloatRegisterImpl::Width w, FloatRegister sd ) { Assembler::fneg(w, sd); } 1.60 - void fmov( FloatRegisterImpl::Width w, FloatRegister s, FloatRegister d); 1.61 - void fabs( FloatRegisterImpl::Width w, FloatRegister s, FloatRegister d); 1.62 - 1.63 void save_all_globals_into_locals(); 1.64 void restore_globals_from_locals(); 1.65 1.66 - void casx_under_lock(Register top_ptr_reg, Register top_reg, Register ptr_reg, 1.67 - address lock_addr=0, bool use_call_vm=false); 1.68 - void cas_under_lock(Register top_ptr_reg, Register top_reg, Register ptr_reg, 1.69 - address lock_addr=0, bool use_call_vm=false); 1.70 - void casn (Register addr_reg, Register cmp_reg, Register set_reg) ; 1.71 - 1.72 // These set the icc condition code to equal if the lock succeeded 1.73 // and notEqual if it failed and requires a slow case 1.74 void compiler_lock_object(Register Roop, Register Rmark, Register Rbox,