mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
- Support inline asm 'w' constraint for 128-bit vector types.
- Also support the 'q' NEON registers asm code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90894 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
13
test/CodeGen/ARM/inlineasm3.ll
Normal file
13
test/CodeGen/ARM/inlineasm3.ll
Normal file
@@ -0,0 +1,13 @@
|
||||
; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
|
||||
|
||||
%struct.int32x4_t = type { <4 x i32> }
|
||||
|
||||
define arm_apcscc void @t() nounwind {
|
||||
entry:
|
||||
; CHECK: vmov.I64 q15, #0
|
||||
; CHECK: vmov.32 d30[0], r0
|
||||
; CHECK: vmov q0, q15
|
||||
%tmp = alloca %struct.int32x4_t, align 16
|
||||
call void asm sideeffect "vmov.I64 q15, #0\0Avmov.32 d30[0], $1\0Avmov ${0:q}, q15\0A", "=*w,r,~{d31},~{d30}"(%struct.int32x4_t* %tmp, i32 8192) nounwind
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user