summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-07 21:27:01 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-07 21:27:01 +0000
commitefb9f7cf0957746a18ee049ae986f137e4dc137d (patch)
tree699cb6c0fb76816a171e13cd72cf8a2830ceee16 /gcc/config
parentc78e2b769a7ca768ec2cd1f8c3bf87a8e74f8240 (diff)
downloadgcc-efb9f7cf0957746a18ee049ae986f137e4dc137d.tar.gz
* config/i386/i386.c (ix86_builtin_vectorized_function): Handle
BUILT_IN_IRINT, BUILT_IN_IRINTF, BUILT_IN_LLRINT and BUILT_IN_LLRINTF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181116 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.c4
-rw-r--r--gcc/config/i386/i386.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 4461fbba82d..4c2c800056c 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -29268,13 +29268,17 @@ ix86_builtin_vectorized_function (tree fndecl, tree type_out,
}
break;
+ case BUILT_IN_IRINT:
case BUILT_IN_LRINT:
+ case BUILT_IN_LLRINT:
if (out_mode == SImode && out_n == 4
&& in_mode == DFmode && in_n == 2)
return ix86_builtins[IX86_BUILTIN_VEC_PACK_SFIX];
break;
+ case BUILT_IN_IRINTF:
case BUILT_IN_LRINTF:
+ case BUILT_IN_LLRINTF:
if (out_mode == SImode && in_mode == SFmode)
{
if (out_n == 4 && in_n == 4)
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index d6a82b654cd..35273d95683 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -2053,7 +2053,7 @@
return "mov{l}\t{%k1, %k0|%k0, %k1}";
else if (which_alternative == 2)
return "movabs{q}\t{%1, %0|%0, %1}";
- else if (ix86_use_lea_for_mov(insn, operands))
+ else if (ix86_use_lea_for_mov (insn, operands))
return "lea{q}\t{%a1, %0|%0, %a1}";
else
return "mov{q}\t{%1, %0|%0, %1}";
@@ -2290,7 +2290,7 @@
default:
gcc_assert (!flag_pic || LEGITIMATE_PIC_OPERAND_P (operands[1]));
- if (ix86_use_lea_for_mov(insn, operands))
+ if (ix86_use_lea_for_mov (insn, operands))
return "lea{l}\t{%a1, %0|%0, %a1}";
else
return "mov{l}\t{%1, %0|%0, %1}";