1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* 3 * Linux/PA-RISC Project (http://www.parisc-li 4 * 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul B 7 */ 8 9 #ifdef __NO_PA_HDRS 10 PA header file -- do not include this head 11 #endif 12 13 14 /* amount is assumed to be a constant between 15 #define Shiftdouble(left,right,amount,dest) 16 /* int left, right, amount, dest; */ 17 dest = ((left) << (32-(amount))) | ((unsig 18 19 /* amount must be less than 32 */ 20 #define Variableshiftdouble(left,right,amount, 21 /* unsigned int left, right; int amount, 22 if (amount == 0) dest = right; 23 else dest = ((((unsigned) left)&0x7fffffff 24 ((unsigned) right >> (amount)) 25 26 /* amount must be between 0 and 32 (non-inclus 27 #define Variable_shift_double(left,right,amoun 28 /* unsigned int left, right; int amount, 29 dest = (left << (32-(amount))) | ((unsigne 30
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.