Lines Matching +full:right +full:- +full:most
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
5 * Floating-point emulation code
6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org>
10 PA header file -- do not include this header file for non-PA builds.
18 * and bitfield assignment (default left-to-right, unlike VAX, PDP-11)
20 * the C compiler "-D" flag (e.g., -DHOSTWDSZ=36 -DBITFLR for the DEC-20).
22 * is a 32-bit integer (right-justified on the 20) and that bit 0 is the
23 * most significant bit.
33 /*-------------------------------------------------------------------------
34 * NewDeclareBitField_Reference - Declare a structure similar to the simulator
39 *----------------------------------------------------------------------- */
41 ((object) >> (HOSTWDSZ - (start) - (length)) & \
42 ((unsigned)-1 >> (HOSTWDSZ - (length))))
45 ((int)((object) << start) >> (HOSTWDSZ - (length)))
48 ((object) & (((unsigned)-1 >> (HOSTWDSZ-len)) << (HOSTWDSZ-start-len)))
51 ((object) & ~(((unsigned)-1 >> (HOSTWDSZ-len)) << (HOSTWDSZ-start-len))) | \
52 (((value) & ((unsigned)-1 >> (HOSTWDSZ-len))) << (HOSTWDSZ-start-len))