Mercurial > hg > CbC > CbC_gcc
comparison include/longlong.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* longlong.h -- definitions for mixed size 32/64 bit arithmetic. | 1 /* longlong.h -- definitions for mixed size 32/64 bit arithmetic. |
2 Copyright (C) 1991-2018 Free Software Foundation, Inc. | 2 Copyright (C) 1991-2020 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of the GNU C Library. | 4 This file is part of the GNU C Library. |
5 | 5 |
6 The GNU C Library is free software; you can redistribute it and/or | 6 The GNU C Library is free software; you can redistribute it and/or |
7 modify it under the terms of the GNU Lesser General Public | 7 modify it under the terms of the GNU Lesser General Public |
197 : "=r" ((USItype) (sh)), \ | 197 : "=r" ((USItype) (sh)), \ |
198 "=&r" ((USItype) (sl)) \ | 198 "=&r" ((USItype) (sl)) \ |
199 : "%r" ((USItype) (ah)), \ | 199 : "%r" ((USItype) (ah)), \ |
200 "rICal" ((USItype) (bh)), \ | 200 "rICal" ((USItype) (bh)), \ |
201 "%r" ((USItype) (al)), \ | 201 "%r" ((USItype) (al)), \ |
202 "rICal" ((USItype) (bl))) | 202 "rICal" ((USItype) (bl)) \ |
203 : "cc") | |
203 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ | 204 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ |
204 __asm__ ("sub.f %1, %4, %5\n\tsbc %0, %2, %3" \ | 205 __asm__ ("sub.f %1, %4, %5\n\tsbc %0, %2, %3" \ |
205 : "=r" ((USItype) (sh)), \ | 206 : "=r" ((USItype) (sh)), \ |
206 "=&r" ((USItype) (sl)) \ | 207 "=&r" ((USItype) (sl)) \ |
207 : "r" ((USItype) (ah)), \ | 208 : "r" ((USItype) (ah)), \ |
208 "rICal" ((USItype) (bh)), \ | 209 "rICal" ((USItype) (bh)), \ |
209 "r" ((USItype) (al)), \ | 210 "r" ((USItype) (al)), \ |
210 "rICal" ((USItype) (bl))) | 211 "rICal" ((USItype) (bl)) \ |
212 : "cc") | |
211 | 213 |
212 #define __umulsidi3(u,v) ((UDItype)(USItype)u*(USItype)v) | 214 #define __umulsidi3(u,v) ((UDItype)(USItype)u*(USItype)v) |
213 #ifdef __ARC_NORM__ | 215 #ifdef __ARC_NORM__ |
214 #define count_leading_zeros(count, x) \ | 216 #define count_leading_zeros(count, x) \ |
215 do \ | 217 do \ |