comparison src/cpu/ppc/vm/assembler_ppc.inline.hpp @ 12086:16e8d5342f7d

8166777: [ppc] port "8164086: Checked JNI pending exception check should be cleared" Reviewed-by: fparain, dholmes
author goetz
date Tue, 27 Sep 2016 15:45:44 +0200
parents ebbfdf26a4ee
children 0f2a78897867
comparison
equal deleted inserted replaced
16:70e3b8baa269 17:9113b206c4a7
346 346
347 inline void Assembler::std( Register d, int si16, Register s1) { emit_int32(STD_OPCODE | rs(d) | ds(si16) | ra0mem(s1));} 347 inline void Assembler::std( Register d, int si16, Register s1) { emit_int32(STD_OPCODE | rs(d) | ds(si16) | ra0mem(s1));}
348 inline void Assembler::stdx( Register d, Register s1, Register s2) { emit_int32(STDX_OPCODE | rs(d) | ra0mem(s1) | rb(s2));} 348 inline void Assembler::stdx( Register d, Register s1, Register s2) { emit_int32(STDX_OPCODE | rs(d) | ra0mem(s1) | rb(s2));}
349 inline void Assembler::stdu( Register d, int si16, Register s1) { emit_int32(STDU_OPCODE | rs(d) | ds(si16) | rta0mem(s1));} 349 inline void Assembler::stdu( Register d, int si16, Register s1) { emit_int32(STDU_OPCODE | rs(d) | ds(si16) | rta0mem(s1));}
350 inline void Assembler::stdux(Register s, Register a, Register b) { emit_int32(STDUX_OPCODE| rs(s) | rta0mem(a) | rb(b));} 350 inline void Assembler::stdux(Register s, Register a, Register b) { emit_int32(STDUX_OPCODE| rs(s) | rta0mem(a) | rb(b));}
351
352 inline void Assembler::st_ptr(Register d, int b, Register s1) { std(d, b, s1); }
353 DEBUG_ONLY(inline void Assembler::st_ptr(Register d, ByteSize b, Register s1) { std(d, in_bytes(b), s1); })
351 354
352 // PPC 1, section 3.3.13 Move To/From System Register Instructions 355 // PPC 1, section 3.3.13 Move To/From System Register Instructions
353 inline void Assembler::mtlr( Register s1) { emit_int32(MTLR_OPCODE | rs(s1)); } 356 inline void Assembler::mtlr( Register s1) { emit_int32(MTLR_OPCODE | rs(s1)); }
354 inline void Assembler::mflr( Register d ) { emit_int32(MFLR_OPCODE | rt(d)); } 357 inline void Assembler::mflr( Register d ) { emit_int32(MFLR_OPCODE | rt(d)); }
355 inline void Assembler::mtctr(Register s1) { emit_int32(MTCTR_OPCODE | rs(s1)); } 358 inline void Assembler::mtctr(Register s1) { emit_int32(MTCTR_OPCODE | rs(s1)); }