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

Hao Sun haosun at openjdk.org
Fri Mar 3 01:27:20 UTC 2023


On Mon, 20 Feb 2023 07:30:10 GMT, Hao Sun <haosun at openjdk.org> wrote:

> 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".

This pull request has now been integrated.

Changeset: 35003b5f
Author:    Hao Sun <haosun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/35003b5f7b341d7abd932fc4c795797960321369
Stats:     33 lines in 2 files changed: 6 ins; 12 del; 15 mod

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

Reviewed-by: aph, xgong

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

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


More information about the hotspot-compiler-dev mailing list