diff options
author | Haochen Gui <guihaoc@gcc.gnu.org> | 2023-10-30 10:59:51 +0800 |
---|---|---|
committer | Haochen Gui <guihaoc@gcc.gnu.org> | 2023-10-30 11:02:29 +0800 |
commit | 8111b5c23bd14f80607bd35af58ec31e38a0378e (patch) | |
tree | 6ca43cab55dac03c891a9dfe86290e487701fec0 /libcpp/line-map.cc | |
parent | 39a11d8e0b9cc3ac5d7d1bfaef75639fc557fbe0 (diff) | |
download | gcc-8111b5c23bd14f80607bd35af58ec31e38a0378e.zip gcc-8111b5c23bd14f80607bd35af58ec31e38a0378e.tar.gz gcc-8111b5c23bd14f80607bd35af58ec31e38a0378e.tar.bz2 |
Expand: Checking available optabs for scalar modes in by pieces operations
The former patch (f08ca5903c7) examines the scalar modes by target
hook scalar_mode_supported_p. It causes some i386 regression cases
as XImode and OImode are not enabled in i386 target function. This
patch examines the scalar mode by checking if the corresponding optabs
are available for the mode.
gcc/
PR target/111449
* expr.cc (qi_vector_mode_supported_p): Rename to...
(by_pieces_mode_supported_p): ...this, and extends it to do
the checking for both scalar and vector mode.
(widest_fixed_size_mode_for_size): Call
by_pieces_mode_supported_p to examine the mode.
(op_by_pieces_d::smallest_fixed_size_mode_for_size): Likewise.
Diffstat (limited to 'libcpp/line-map.cc')
0 files changed, 0 insertions, 0 deletions