Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.target
/
bfin
/
ssneg.c
blob: 44ad7edbba469c9c8df3c8b31c97240dac355a67 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2" } */
short
foo
()
{
short
t
=
-
32768
;
short
r
=
__builtin_bfin_negate_fr1x16
(
t
);
return
r
;
}
/* { dg-final { scan-assembler "32767" } } */