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

Correct imul, lmul, lsub, lushr instructions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • specification
    • None
    • vm
    • generic
    • generic
    • Verified

      - imul and lmul mention "mathematical sum of the two values" not the mathematical multiplication!

      - lsub mentions "mathematical sum of the two values" not the mathematical difference! Note that lsub's close friend, isub, was corrected in SE 5.0 to say "mathematical difference".

      - lushr description doesn't mention s, but its notes do. lushr should follow its friend iushr by identifying s as the shift distance: "A &long; &result; is calculated by shifting &value1; right logically ***by s bit positions***, with zero extension, ***where s is the value of*** the low 6 bits of &value2;."

            abuckley Alex Buckley
            abuckley Alex Buckley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: