summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AArch64/strqu.ll
blob: f7993c770750bb65a1533a0e9f249c1f41996edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-linux-gnu    | FileCheck %s
; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64_be-linux-gnu | FileCheck %s
; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-linux-gnu    -mcpu=exynos-m3 | FileCheck %s
; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64_be-linux-gnu -mcpu=exynos-m3 | FileCheck %s

define void @test_split_f(<4 x float> %val, ptr %addr) {
; CHECK-LABEL: test_split_f:
; CHECK:       // %bb.0:
; CHECK-NEXT:    str q0, [x0]
; CHECK-NEXT:    ret
  store <4 x float> %val, ptr %addr, align 8
  ret void
}

define void @test_split_d(<2 x double> %val, ptr %addr) {
; CHECK-LABEL: test_split_d:
; CHECK:       // %bb.0:
; CHECK-NEXT:    str q0, [x0]
; CHECK-NEXT:    ret
  store <2 x double> %val, ptr %addr, align 8
  ret void
}

define void @test_split_128(fp128 %val, ptr %addr) {
; CHECK-LABEL: test_split_128:
; CHECK:       // %bb.0:
; CHECK-NEXT:    str q0, [x0]
; CHECK-NEXT:    ret
  store fp128 %val, ptr %addr, align 8
  ret void
}