RFR: 8361582: AArch64: Some ConH values cannot be replicated with SVE [v4]

Andrew Haley aph at openjdk.org
Wed Aug 13 13:04:15 UTC 2025


On Wed, 13 Aug 2025 12:50:09 GMT, Bhavana Kilambi <bkilambi at openjdk.org> wrote:

> The destination register is an FPR. If we would want to modify this to generate a move to a scratch register instead (something similar to loadConI) then we would have to change the destination register to `iregI`

This is the part I don't understand. Why would you have to change the destination register to `iregI`? I wouldn't.


instruct loadConH(vRegF dst, immH con) %{
  match(Set dst con);
  format %{
    "something"
  %}
  ins_encode %{
    __ movw(rscratch1, $con$$constant);
    __ fmovs($dst$$reg, rscratch1);
  %}
 ```

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26589#issuecomment-3183831528


More information about the hotspot-compiler-dev mailing list