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

AArch64: Combine shift and negate to a single instruction

XMLWordPrintable

    • b18
    • aarch64
    • generic

        In AArch64,

        asr x10, x1, #31
        neg x0, x10

        can be optimized to:

        neg x0, x1, asr #31

              fgao Fei Gao
              fgao Fei Gao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: