summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-24 23:10:39 +0000
committerChris Lattner <sabre@nondot.org>2006-03-24 23:10:39 +0000
commit5a1df389a675c8f9bb73afc95132751508e24762 (patch)
treeb2f59274cec4f67bf0ee1b5b2ac96d734efc2291 /lib/CodeGen/MachineFunction.cpp
parent7255a545613f9e713779ca81f55711c0863d9cc9 (diff)
downloadllvm-5a1df389a675c8f9bb73afc95132751508e24762.tar.gz
llvm-5a1df389a675c8f9bb73afc95132751508e24762.tar.bz2
llvm-5a1df389a675c8f9bb73afc95132751508e24762.tar.xz
Change approach so that we get codegen for free for intrinsics. With this,
intrinsics that don't take pointer arguments now work. For example, we can compile this: int test3( __m128d *A) { return _mm_movemask_pd(*A); } int test4( __m128 *A) { return _mm_movemask_ps(*A); } to this: _test3: movl 4(%esp), %eax movapd (%eax), %xmm0 movmskpd %xmm0, %eax ret _test4: movl 4(%esp), %eax movaps (%eax), %xmm0 movmskps %xmm0, %eax ret git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions