diff options
author | Hans Wennborg <hans@hanshq.net> | 2019-06-19 11:34:08 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2019-06-19 11:34:08 +0000 |
commit | d874c057bc2361da5157553e1e2178f43c3ade1a (patch) | |
tree | bfabdbc1a5b81121b054d320255b82b7a46f7a40 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bb6b85618387f768a6368f289ae754eb92935c5d (diff) | |
download | llvm-d874c057bc2361da5157553e1e2178f43c3ade1a.zip llvm-d874c057bc2361da5157553e1e2178f43c3ade1a.tar.gz llvm-d874c057bc2361da5157553e1e2178f43c3ade1a.tar.bz2 |
Revert r363116 "[X86] [ABI] Fix i386 ABI "__m64" type bug"
This introduced MMX instructions in code that wasn't previously using
them, breaking programs using 64-bit vectors and x87 floating-point in
the same application. See discussion on the code review for more
details.
> According to System V i386 ABI: the __m64 type paramater and return
> value are passed by MMX registers. But current implementation treats
> __m64 as i64 which results in parameter passing by stack and returning
> by EDX and EAX.
>
> This patch fixes the bug (https://bugs.llvm.org/show_bug.cgi?id=41029)
> for Linux and NetBSD.
>
> Patch by Wei Xiao (wxiao3)
>
> Differential Revision: https://reviews.llvm.org/D59744
llvm-svn: 363790
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions