summaryrefslogtreecommitdiff
path: root/libitm/common.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-01-06 13:06:17 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-01-07 03:52:26 -0800
commite96905d3d17588cd6236f24af45665bed1d0fdcc (patch)
treead69d05873f7e1db97ecdb724b832de095e9f7c9 /libitm/common.h
parent1d1e4d6b346e1cddc3c249993d8391a971e608cc (diff)
downloadgcc-hjl/pr69171/master.tar.gz
Add round_nimm_scalar_predicate and use xBmhjl/pr69171/master
Add round_nimm_scalar_predicate for scalar SSE integer to floating point conversions since round_nimm_predicate is for vector operand. round_constraint can't be used on vector SSE patterns since it is mapped to "vm". The "xBm" constraint must be used in this case. gcc/ PR target/69171 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>): Use the "xBm" constraint. (float<sseintvecmodelower><mode>2<mask_name><round_name): Likewise. (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate. (sse_cvtsi2ssq<round_name>): Likewise. (sse_cvtss2si<round_name>): Likewise. (sse_cvtss2siq<round_name>): Likewise. (sse2_cvtsi2sdq<round_name>): Likewise. (sse2_cvtsd2si<round_name>): Likewise. (sse2_cvtsd2siq<round_name>): Likewise. * config/i386/subst.md (round_nimm_scalar_predicate): New predicate. gcc/testsuite/ PR target/69171 * gcc.target/i386/pr69171-1.c: New test. * gcc.target/i386/pr69171-2.c: Likewise. * gcc.target/i386/pr69171-3.c: Likewise. * gcc.target/i386/pr69171-4.c: Likewise. * gcc.target/i386/pr69171-5.c: Likewise. * gcc.target/i386/pr69171-6.c: Likewise.
Diffstat (limited to 'libitm/common.h')
0 files changed, 0 insertions, 0 deletions