view gcc/testsuite/gcc.target/arm/simd/bf16_vldn_1.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* { dg-do assemble } */
/* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
/* { dg-add-options arm_v8_2a_bf16_neon } */
/* { dg-additional-options "-save-temps -O2 -mfloat-abi=hard" }  */
/* { dg-final { check-function-bodies "**" "" } } */

#include "arm_neon.h"


/*
**test_vld2_bf16:
**	...
**	vld2.16	{d0-d1}, \[r0\]
**	bx	lr
*/
bfloat16x4x2_t
test_vld2_bf16 (bfloat16_t * ptr)
{
  return vld2_bf16 (ptr);
}

/*
**test_vld2q_bf16:
**	...
**	vld2.16	{d0-d3}, \[r0\]
**	bx	lr
*/
bfloat16x8x2_t
test_vld2q_bf16 (bfloat16_t * ptr)
{
  return vld2q_bf16 (ptr);
}

/*
**test_vld2_dup_bf16:
**	...
**	vld2.16	{d0\[\], d1\[\]}, \[r0\]
**	bx	lr
*/
bfloat16x4x2_t
test_vld2_dup_bf16 (bfloat16_t * ptr)
{
  return vld2_dup_bf16 (ptr);
}

/*
**test_vld2q_dup_bf16:
**	...
**	vld2.16	{d0, d1, d2, d3}, \[r0\]
**	bx	lr
*/
bfloat16x8x2_t
test_vld2q_dup_bf16 (bfloat16_t * ptr)
{
  return vld2q_dup_bf16 (ptr);
}

/*
**test_vld3_bf16:
**	...
**	vld3.16	{d0-d2}, \[r0\]
**	bx	lr
*/
bfloat16x4x3_t
test_vld3_bf16 (bfloat16_t * ptr)
{
  return vld3_bf16 (ptr);
}

/*
**test_vld3q_bf16:
**	...
**	vld3.16	{d1, d3, d5}, \[r0\]
**	bx	lr
*/
bfloat16x8x3_t
test_vld3q_bf16 (bfloat16_t * ptr)
{
  return vld3q_bf16 (ptr);
}

/*
**test_vld3_dup_bf16:
**	...
**	vld3.16	{d0\[\], d1\[\], d2\[\]}, \[r0\]
**	bx	lr
*/
bfloat16x4x3_t
test_vld3_dup_bf16 (bfloat16_t * ptr)
{
  return vld3_dup_bf16 (ptr);
}

/*
**test_vld3q_dup_bf16:
**	...
**	vld3.16	{d0\[\], d1\[\], d2\[\]}, \[r0\]
**	bx	lr
*/
bfloat16x8x3_t
test_vld3q_dup_bf16 (bfloat16_t * ptr)
{
  return vld3q_dup_bf16 (ptr);
}

/*
**test_vld4_bf16:
**	...
**	vld4.16	{d0-d3}, \[r0\]
**	bx	lr
*/
bfloat16x4x4_t
test_vld4_bf16 (bfloat16_t * ptr)
{
  return vld4_bf16 (ptr);
}

/*
**test_vld4q_bf16:
**	...
**	vld4.16	{d1, d3, d5, d7}, \[r0\]
**	bx	lr
*/
bfloat16x8x4_t
test_vld4q_bf16 (bfloat16_t * ptr)
{
  return vld4q_bf16 (ptr);
}

/*
**test_vld4_dup_bf16:
**	...
**	vld4.16	{d0\[\], d1\[\], d2\[\], d3\[\]}, \[r0\]
**	bx	lr
*/
bfloat16x4x4_t
test_vld4_dup_bf16 (bfloat16_t * ptr)
{
  return vld4_dup_bf16 (ptr);
}

/*
**test_vld4q_dup_bf16:
**	...
**	vld4.16	{d0\[\], d1\[\], d2\[\], d3\[\]}, \[r0\]
**	bx	lr
*/
bfloat16x8x4_t
test_vld4q_dup_bf16 (bfloat16_t * ptr)
{
  return vld4q_dup_bf16 (ptr);
}