mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
25 lines
424 B
LLVM
25 lines
424 B
LLVM
|
; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s
|
||
|
|
||
|
define void @foo(<4 x double> %v, <4 x double>* %p) {
|
||
|
entry:
|
||
|
store <4 x double> %v, <4 x double>* %p, align 8
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
; CHECK: @foo
|
||
|
; CHECK: stfd
|
||
|
; CHECK: stfd
|
||
|
; CHECK: stfd
|
||
|
; CHECK: stfd
|
||
|
; CHECK: blr
|
||
|
|
||
|
define void @bar(<4 x double> %v, <4 x double>* %p) {
|
||
|
entry:
|
||
|
store <4 x double> %v, <4 x double>* %p, align 32
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
; CHECK: @bar
|
||
|
; CHECK: qvstfdx
|
||
|
|