Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8016194

BA instructions should not execute NOP in delay slot

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • hs25, 9, 10
    • hotspot
    • sparc
    • solaris

      BA (unconditional branch) instruction has reversed meaning of annulling bit. In few Hotspot places we have code which execute NOP instruction because we use incorrect annulling, like next:

          __ br(Assembler::always, false, Assembler::pt, L_label);
          __ delayed()->nop();

      and
          __ ba(L_label);
          __ delayed()->nop();

            Unassigned Unassigned
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: