diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2022-01-16 22:55:42 -0600 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2022-01-16 23:43:23 -0600 |
commit | b3e77224edbcb06cfd6ef585c11fc2c7d9672a16 (patch) | |
tree | f963a90de8dd6f63e0bc3284e6b6cf84c07dec82 /libgfortran/runtime/environ.c | |
parent | 240dd6c063b481c092c9ec406b69b400f6f033f1 (diff) | |
download | gcc-b3e77224edbcb06cfd6ef585c11fc2c7d9672a16.zip gcc-b3e77224edbcb06cfd6ef585c11fc2c7d9672a16.tar.gz gcc-b3e77224edbcb06cfd6ef585c11fc2c7d9672a16.tar.bz2 |
rs6000: Use known constant for GET_MODE_NUNITS and similar
This patch is to clean up some codes with GET_MODE_UNIT_SIZE or
GET_MODE_NUNITS, which can use known constants or just be removed.
Note that Carl Love helped to confirm altivec_vreveti2 introduced
in r12-1341 is useless and can be removed.
gcc/ChangeLog:
* config/rs6000/altivec.md (altivec_vreveti2): Remove.
* config/rs6000/vsx.md (*vsx_extract_si, *vsx_extract_si_<uns>float_df,
*vsx_extract_si_<uns>float_<mode>, *vsx_insert_extract_v4sf_p9): Use
known constant values to simplify code.
Diffstat (limited to 'libgfortran/runtime/environ.c')
0 files changed, 0 insertions, 0 deletions