
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
27 lines
658 B
C
27 lines
658 B
C
// RUN: %clang_cc1 -O3 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - %s | FileCheck %s
|
|
// REQUIRES: aarch64-registered-target
|
|
/// Test vrecpss_f32, vrecpsd_f64 ARM64 intrinsics
|
|
|
|
|
|
#include <arm_neon.h>
|
|
|
|
// vrecpss_f32 -> FRECPS Sd,Sa,Sb
|
|
//
|
|
float32_t test_vrecpss_f32(float32_t Vdlow, float32_t Vn)
|
|
{
|
|
return vrecpss_f32(Vdlow, Vn);
|
|
// CHECK: test_vrecpss_f32:
|
|
// CHECK: frecps s0, s0, s1
|
|
// CHECK-NEXT: ret
|
|
}
|
|
|
|
// vrecpsd_f64 -> FRECPS Dd,Da,Db
|
|
//
|
|
float64_t test_vrecpsd_f64(float64_t Vdlow, float64_t Vn)
|
|
{
|
|
return vrecpsd_f64(Vdlow, Vn);
|
|
// CHECK: test_vrecpsd_f64:
|
|
// CHECK: frecps d0, d0, d1
|
|
// CHECK-NEXT: ret
|
|
}
|