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

Integer Divide and Mod on same inputs can be computed faster if their computation is shared

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 6
    • 5.0
    • hotspot
    • b65
    • sparc
    • solaris_9

    Description

      Integer Divide and Mod on the same inputs can be computed faster
      if their computation is shared. On x86 machines, the hardware
      instruction for divide also returns the mod for free. On SPARC,
      the Mod computation does a divide implicitly.

      Attachments

        Issue Links

          Activity

            People

              rknippelsunw Ross Knippel (Inactive)
              rknippelsunw Ross Knippel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: