Bug 74113 - by_pieces_ninsns doesn't support TImode/OImode/XImode
Summary: by_pieces_ninsns doesn't support TImode/OImode/XImode
Status: RESOLVED DUPLICATE of bug 90773
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 7.0
: P3 normal
Target Milestone: 12.0
Assignee: Not yet assigned to anyone
URL:
Keywords: missed-optimization
Depends on:
Blocks:
 
Reported: 2016-08-11 15:24 UTC by H.J. Lu
Modified: 2021-08-07 14:52 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2016-08-11 15:24:05 UTC
TImode/OImode/XImode support load and store with vector registers.  But
by_pieces_ninsns determines the widest mode with MAX_FIXED_MODE_SIZE
which is limited by integer registers.  There is a patch to update
alignment_for_piecewise_move to remove the MAX_FIXED_MODE_SIZE restriction:

https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01506.html

But there is a concern for simplify_immed_subreg:

https://gcc.gnu.org/ml/gcc-patches/2016-04/msg01527.html
Comment 1 Andrew Pinski 2021-08-07 04:55:23 UTC
Isn't this fixed now?
Comment 2 H.J. Lu 2021-08-07 14:52:21 UTC
Dup.

*** This bug has been marked as a duplicate of bug 90773 ***