RFR: 8302830: AArch64: Fix the mismatch between cas.m4 and aarch64.ad [v2]

Hao Sun haosun at openjdk.org
Tue Feb 21 05:34:42 UTC 2023


> Fix the following mismatch between cas.m4 and aarch64.ad.
> 
> 
> $ 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);$
> ...
> 
> 
> Besides, update the comment since "aarch_ad_cas.m4" was renamed to "cas.m4".

Hao Sun has updated the pull request incrementally with one additional commit since the last revision:

  Remove empty lines in AD files
  
  Co-Developed-by: aph

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12647/files
  - new: https://git.openjdk.org/jdk/pull/12647/files/72c919b1..ebe56bd5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12647&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12647&range=00-01

  Stats: 30 lines in 2 files changed: 5 ins; 11 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/12647.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12647/head:pull/12647

PR: https://git.openjdk.org/jdk/pull/12647


More information about the hotspot-compiler-dev mailing list