mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
62098040a1
#include <xmmintrin.h> __m128i doload64(short x) {return _mm_set_epi16(0,0,0,0,0,0,0,1);} into: movl $1, %eax movd %eax, %xmm0 ret instead of a constant pool load. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48063 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
129 B
LLVM
7 lines
129 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 | grep {movl.*\$1, %}
|
|
define <2 x i64> @test1() {
|
|
entry:
|
|
ret <2 x i64> < i64 1, i64 0 >
|
|
}
|
|
|