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

[ARM] investigate turning off GPR<-->FP spills

XMLWordPrintable

      Arm32 and arm64 can spill to FP registers, thanks to this code:

      ifdef ARM
           // ARM has support for moving 64bit values between a pair of
           // integer registers and a double register
           idealreg2spillmask[Op_RegL]->OR(*idealreg2regmask[Op_RegD]);
           idealreg2spillmask[Op_RegD]->OR(*idealreg2regmask[Op_RegL]);
      #endif

      however, this increases and FP register pressure and VMOV is slower than a load or store on arm64 (and probably armv7 arm32) because of the FP pipeline.

            Unassigned Unassigned
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: