summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-12-19 06:51:44 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-02-12 05:08:29 -0800
commitba5e18d8d98a3beb3d51da03f4721f5576fcb997 (patch)
tree683731b55aaa500b3a601a274cd7f6bf37da0dfd /libstdc++-v3
parentcea7085941f85780f1b32c3a218f2009f2f44ab2 (diff)
downloadgcc-hjl/pr68991/gcc-5-branch.tar.gz
Add vector_memory_operand and "Bm" constrainthjl/pr68991/gcc-5-branch
SSE vector arithmetic and logic instructions only accept aligned memory operand. This patch adds vector_memory_operand and "Bm" constraint for aligned SSE memory operand. They are applied to SSE plusminus and any_logic patterns. gcc/ PR target/68991 * config/i386/constraints.md (Bm): New constraint. * config/i386/predicates.md (vector_memory_operand): New predicate. * config/i386/sse.md: Replace xm with xBm in plusminus and any_logic patterns. gcc/testsuite/ PR target/68991 * g++.dg/pr68991-1.C: New test. * g++.dg/pr68991-2.C: Likewise.
Diffstat (limited to 'libstdc++-v3')
0 files changed, 0 insertions, 0 deletions