mbox series

[v2,0/3] LoongArch: Cleanup unused/redundant codes.

Message ID 20240315013027.183888-1-panchenghui@loongson.cn
Headers show
Series LoongArch: Cleanup unused/redundant codes. | expand

Message

Chenghui Pan March 15, 2024, 1:30 a.m. UTC
Changes from v1: Some correction about ChangeLog format.

There's some unused/redundant definitions inside LoongArch target support
codes, these patches make a simple cleanup. Regression test passed.

Chenghui Pan (3):
  LoongArch: Remove unused/useless definitions.
  LoongArch: Change loongarch_expand_vec_cmp()'s return type from bool
    to void.
  LoongArch: Combine UNITS_PER_FP_REG and UNITS_PER_FPREG macros.

 gcc/config/loongarch/lasx.md            |  6 ++--
 gcc/config/loongarch/loongarch-protos.h |  7 +----
 gcc/config/loongarch/loongarch.cc       | 39 ++++---------------------
 gcc/config/loongarch/loongarch.h        |  7 ++---
 gcc/config/loongarch/lsx.md             |  6 ++--
 5 files changed, 13 insertions(+), 52 deletions(-)

Comments

Lulu Cheng March 20, 2024, 2:29 a.m. UTC | #1
Pushed to r14-9562...r14-9564.

在 2024/3/15 上午9:30, Chenghui Pan 写道:
> Changes from v1: Some correction about ChangeLog format.
>
> There's some unused/redundant definitions inside LoongArch target support
> codes, these patches make a simple cleanup. Regression test passed.
>
> Chenghui Pan (3):
>    LoongArch: Remove unused/useless definitions.
>    LoongArch: Change loongarch_expand_vec_cmp()'s return type from bool
>      to void.
>    LoongArch: Combine UNITS_PER_FP_REG and UNITS_PER_FPREG macros.
>
>   gcc/config/loongarch/lasx.md            |  6 ++--
>   gcc/config/loongarch/loongarch-protos.h |  7 +----
>   gcc/config/loongarch/loongarch.cc       | 39 ++++---------------------
>   gcc/config/loongarch/loongarch.h        |  7 ++---
>   gcc/config/loongarch/lsx.md             |  6 ++--
>   5 files changed, 13 insertions(+), 52 deletions(-)
>