Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/aarch64/sve/pcs/return_1_2048.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O -msve-vector-bits=2048 -g" } */ /* { dg-final { check-function-bodies "**" "" { target lp64 } } } */ /* ** callee_pred: ** ldr p0, \[x0\] ** ret */ __SVBool_t __attribute__((noipa)) callee_pred (__SVBool_t *ptr) { return *ptr; } #include <arm_sve.h> /* ** caller_pred: ** ... ** bl callee_pred ** cntp x0, p0, p0.b ** ldp x29, x30, \[sp\], 16 ** ret */ uint64_t __attribute__((noipa)) caller_pred (__SVBool_t *ptr1) { __SVBool_t p = callee_pred (ptr1); return svcntp_b8 (p, p); }