Re: [PATCH v2 02/10] aarch64: Add backend support for DFP

2022-05-16 Thread Christophe Lyon via Gcc-patches
On 5/13/22 18:35, Richard Sandiford wrote: Christophe Lyon via Gcc-patches writes: @@ -19352,7 +19363,9 @@ aarch64_legitimate_constant_p (machine_mode mode, rtx x) { /* Support CSE and rematerialization of common constants. */ if (CONST_INT_P (x) - || (CONST_DOUBLE_P (x) && GE

Re: [PATCH v2 02/10] aarch64: Add backend support for DFP

2022-05-13 Thread Richard Sandiford via Gcc-patches
Christophe Lyon via Gcc-patches writes: > @@ -19352,7 +19363,9 @@ aarch64_legitimate_constant_p (machine_mode mode, rtx > x) > { >/* Support CSE and rematerialization of common constants. */ >if (CONST_INT_P (x) > - || (CONST_DOUBLE_P (x) && GET_MODE_CLASS (mode) == MODE_FLOAT)) >

[PATCH v2 02/10] aarch64: Add backend support for DFP

2022-05-13 Thread Christophe Lyon via Gcc-patches
This patch updates the aarch64 backend as needed to support DFP modes (SD, DD and TD). 2022-03-31 Christophe Lyon gcc/ * config/aarch64/aarch64.cc (aarch64_split_128bit_move): Handle DFP modes. (aarch64_mode_valid_for_sched_fusion_p): Likewise. (aarch64_