view gcc/testsuite/gcc.target/aarch64/pmull_1.c @ 152:2b5abeee2509

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


/* { dg-do compile } */
/* { dg-options "-march=armv8-a+crypto" } */

#include "arm_neon.h"

poly128_t
test_vmull_p64 (poly64_t a, poly64_t b)
{
  return vmull_p64 (a, b);
}

/* { dg-final { scan-assembler-times "pmull\\tv" 1 } } */

poly128_t
test_vmull_high_p64 (poly64x2_t a, poly64x2_t b)
{
  return vmull_high_p64 (a, b);
}

/* { dg-final { scan-assembler-times "pmull2\\tv" 1 } } */