diff options
author | Dale Johannesen <dalej@apple.com> | 2008-10-10 23:51:03 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-10-10 23:51:03 +0000 |
commit | e397acce9db154d8355eb78e701622383f551074 (patch) | |
tree | c60537a248a27cda5986b92569ee623ba2be01ec /include/llvm/IntrinsicsX86.td | |
parent | fc19fbd2ca2759eafaea4d174a814f9236f2d0e8 (diff) | |
download | external_llvm-e397acce9db154d8355eb78e701622383f551074.zip external_llvm-e397acce9db154d8355eb78e701622383f551074.tar.gz external_llvm-e397acce9db154d8355eb78e701622383f551074.tar.bz2 |
Fix SSE4.1 roundss, roundsd. While the instructions have
the same pattern as roundpd/roundps, the Intel compiler
builtins do not: rounds* has an extra operand. Fixes
gcc.target/i386/sse4_1-rounds[sd]-[1234].c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IntrinsicsX86.td')
-rw-r--r-- | include/llvm/IntrinsicsX86.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/IntrinsicsX86.td b/include/llvm/IntrinsicsX86.td index 682eb51..20b5563 100644 --- a/include/llvm/IntrinsicsX86.td +++ b/include/llvm/IntrinsicsX86.td @@ -685,13 +685,13 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.". // FP rounding ops let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.". def int_x86_sse41_round_ss : GCCBuiltin<"__builtin_ia32_roundss">, - Intrinsic<[llvm_v4f32_ty, llvm_v4f32_ty, + Intrinsic<[llvm_v4f32_ty, llvm_v4f32_ty, llvm_v4f32_ty, llvm_i32_ty], [IntrNoMem]>; def int_x86_sse41_round_ps : GCCBuiltin<"__builtin_ia32_roundps">, Intrinsic<[llvm_v4f32_ty, llvm_v4f32_ty, llvm_i32_ty], [IntrNoMem]>; def int_x86_sse41_round_sd : GCCBuiltin<"__builtin_ia32_roundsd">, - Intrinsic<[llvm_v2f64_ty, llvm_v2f64_ty, + Intrinsic<[llvm_v2f64_ty, llvm_v2f64_ty, llvm_v2f64_ty, llvm_i32_ty], [IntrNoMem]>; def int_x86_sse41_round_pd : GCCBuiltin<"__builtin_ia32_roundpd">, Intrinsic<[llvm_v2f64_ty, llvm_v2f64_ty, |