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

AArch64: Fix the mismatch between cas.m4 and aarch64.ad

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • 21
    • hotspot
    • b13
    • aarch64

    Description

      $ m4 cas.m4 > cas.gen.ad
      $ sed '8930,9404!d' aarch64.ad > res.ad
      $ diff -uN cas.gen.ad res.ad | cat -A

      --- cas.gen.ad^I2023-02-20 04:18:46.624289978 +0000$
      +++ res.ad^I2023-02-20 04:19:08.780351888 +0000$
      @@ -15,7 +15,7 @@$
       // This pattern is generated automatically from cas.m4.$
       // DO NOT EDIT ANYTHING IN THIS SECTION OF THE FILE$
       instruct compareAndExchangeB(iRegINoSp res, indirect mem, iRegI oldval, iRegI newval, rFlagsReg cr) %{$
      - $
      +$
         match(Set res (CompareAndExchangeB mem (Binary oldval newval)));$
         ins_cost(2 * VOLATILE_REF_COST);$
         effect(TEMP_DEF res, KILL cr);$
      @@ -34,7 +34,7 @@$
       // This pattern is generated automatically from cas.m4.$
       // DO NOT EDIT ANYTHING IN THIS SECTION OF THE FILE$
       instruct compareAndExchangeS(iRegINoSp res, indirect mem, iRegI oldval, iRegI newval, rFlagsReg cr) %{$
      - $
      +$
         match(Set res (CompareAndExchangeS mem (Binary oldval newval)));$
         ins_cost(2 * VOLATILE_REF_COST);$
         effect(TEMP_DEF res, KILL cr);$
      @@ -53,7 +53,7 @@$
       // This pattern is generated automatically from cas.m4.$
       // DO NOT EDIT ANYTHING IN THIS SECTION OF THE FILE$
       instruct compareAndExchangeI(iRegINoSp res, indirect mem, iRegI oldval, iRegI newval, rFlagsReg cr) %{$
      - $
      +$
         match(Set res (CompareAndExchangeI mem (Binary oldval newval)));$
         ins_cost(2 * VOLATILE_REF_COST);$
         effect(TEMP_DEF res, KILL cr);$
      ...

      Attachments

        Issue Links

          Activity

            People

              haosun Hao Sun (Inactive)
              haosun Hao Sun (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: