src/cpu/sparc/vm/assembler_sparc.inline.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File c1-coops Sdiff src/cpu/sparc/vm

src/cpu/sparc/vm/assembler_sparc.inline.hpp

Print this page




 527     Assembler::bp(c, a, icc, p, d, rt);
 528   else
 529     Assembler::br(c, a, d, rt);
 530 }
 531 
 532 inline void MacroAssembler::br( Condition c, bool a, Predict p, Label& L ) {
 533   br(c, a, p, target(L));
 534 }
 535 
 536 
 537 // Branch that tests either xcc or icc depending on the
 538 // architecture compiled (LP64 or not)
 539 inline void MacroAssembler::brx( Condition c, bool a, Predict p, address d, relocInfo::relocType rt ) {
 540 #ifdef _LP64
 541     Assembler::bp(c, a, xcc, p, d, rt);
 542 #else
 543     MacroAssembler::br(c, a, p, d, rt);
 544 #endif
 545 }
 546 








 547 inline void MacroAssembler::brx( Condition c, bool a, Predict p, Label& L ) {
 548   brx(c, a, p, target(L));
 549 }
 550 




 551 inline void MacroAssembler::ba( bool a, Label& L ) {
 552   br(always, a, pt, L);
 553 }
 554 
 555 // Warning: V9 only functions
 556 inline void MacroAssembler::bp( Condition c, bool a, CC cc, Predict p, address d, relocInfo::relocType rt ) {
 557   Assembler::bp(c, a, cc, p, d, rt);
 558 }
 559 
 560 inline void MacroAssembler::bp( Condition c, bool a, CC cc, Predict p, Label& L ) {
 561   Assembler::bp(c, a, cc, p, L);
 562 }
 563 
 564 inline void MacroAssembler::fb( Condition c, bool a, Predict p, address d, relocInfo::relocType rt ) {
 565   if (VM_Version::v9_instructions_work())
 566     fbp(c, a, fcc0, p, d, rt);
 567   else
 568     Assembler::fb(c, a, d, rt);
 569 }
 570 




 527     Assembler::bp(c, a, icc, p, d, rt);
 528   else
 529     Assembler::br(c, a, d, rt);
 530 }
 531 
 532 inline void MacroAssembler::br( Condition c, bool a, Predict p, Label& L ) {
 533   br(c, a, p, target(L));
 534 }
 535 
 536 
 537 // Branch that tests either xcc or icc depending on the
 538 // architecture compiled (LP64 or not)
 539 inline void MacroAssembler::brx( Condition c, bool a, Predict p, address d, relocInfo::relocType rt ) {
 540 #ifdef _LP64
 541     Assembler::bp(c, a, xcc, p, d, rt);
 542 #else
 543     MacroAssembler::br(c, a, p, d, rt);
 544 #endif
 545 }
 546 
 547 inline void MacroAssembler::br( Condition c, CC cc, bool a, Predict p, address d, relocInfo::relocType rt ) {
 548 #ifdef _LP64
 549     Assembler::bp(c, a, cc, p, d, rt);
 550 #else
 551     MacroAssembler::br(c, a, p, d, rt);
 552 #endif
 553 }
 554 
 555 inline void MacroAssembler::brx( Condition c, bool a, Predict p, Label& L ) {
 556   brx(c, a, p, target(L));
 557 }
 558 
 559 inline void MacroAssembler::br( Condition c, CC cc, bool a, Predict p, Label& L ) {
 560   br(c, cc, a, p, target(L));
 561 }
 562 
 563 inline void MacroAssembler::ba( bool a, Label& L ) {
 564   br(always, a, pt, L);
 565 }
 566 
 567 // Warning: V9 only functions
 568 inline void MacroAssembler::bp( Condition c, bool a, CC cc, Predict p, address d, relocInfo::relocType rt ) {
 569   Assembler::bp(c, a, cc, p, d, rt);
 570 }
 571 
 572 inline void MacroAssembler::bp( Condition c, bool a, CC cc, Predict p, Label& L ) {
 573   Assembler::bp(c, a, cc, p, L);
 574 }
 575 
 576 inline void MacroAssembler::fb( Condition c, bool a, Predict p, address d, relocInfo::relocType rt ) {
 577   if (VM_Version::v9_instructions_work())
 578     fbp(c, a, fcc0, p, d, rt);
 579   else
 580     Assembler::fb(c, a, d, rt);
 581 }
 582 


src/cpu/sparc/vm/assembler_sparc.inline.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File