forked from OSchip/llvm-project
[X86] Use __m128_u for _mm_loadu_ps after r353555
Add secondary triple to existing SSE test for it. I audited other uses of __attribute__((__packed__)) in the intrinsic headers, and this seemed to be the only missing one. llvm-svn: 353878
This commit is contained in:
parent
a39eb26bd3
commit
79d7f4114d
|
@ -1754,7 +1754,7 @@ static __inline__ __m128 __DEFAULT_FN_ATTRS
|
|||
_mm_loadu_ps(const float *__p)
|
||||
{
|
||||
struct __loadu_ps {
|
||||
__m128 __v;
|
||||
__m128_u __v;
|
||||
} __attribute__((__packed__, __may_alias__));
|
||||
return ((struct __loadu_ps*)__p)->__v;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +sse -emit-llvm -o - -Wall -Werror | FileCheck %s
|
||||
// RUN: %clang_cc1 -fms-extensions -fms-compatibility -ffreestanding %s -triple=x86_64-windows-msvc -target-feature +sse -emit-llvm -o - -Wall -Werror | FileCheck %s
|
||||
|
||||
|
||||
#include <immintrin.h>
|
||||
|
|
Loading…
Reference in New Issue