diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2024-01-09 10:21:28 -0700 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-01-09 10:21:28 -0700 |
commit | 9f7afa99c67f039e43019ebd08d14a7f01e2d89c (patch) | |
tree | 511f375a1236517fe3ed305c44dc240a193046b1 /include | |
parent | 8ae50799cd25a63fa028eb6aad4f93be1d8eeb39 (diff) | |
download | gcc-9f7afa99c67f039e43019ebd08d14a7f01e2d89c.zip gcc-9f7afa99c67f039e43019ebd08d14a7f01e2d89c.tar.gz gcc-9f7afa99c67f039e43019ebd08d14a7f01e2d89c.tar.bz2 |
[committed] Adding missing prototype for __clzhi2 to xstormy port
xstormy16 has failed since the c99 transition due to a missing prototype for
__clzhi2 in the implementation of stormy16_count_leading_zeros.
This fixes the missing prototype. Pushed to the trunk.
include/
* longlong.h (__stormy16_count_leading_zeros): Add prototype for
__clzhi2.
Diffstat (limited to 'include')
-rw-r--r-- | include/longlong.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/longlong.h b/include/longlong.h index e4fe1d2..b5dec95 100644 --- a/include/longlong.h +++ b/include/longlong.h @@ -1573,6 +1573,7 @@ extern UHItype __stormy16_count_leading_zeros (UHItype); for ((count) = 0, size = W_TYPE_SIZE; size; size -= 16) \ { \ UHItype c; \ + extern UHItype __clzhi2 (UHItype); \ \ c = __clzhi2 ((x) >> (size - 16)); \ (count) += c; \ |