Home
last modified time | relevance | path

Searched refs:TOPBIT (Results 1 – 19 of 19) sorted by relevance

/dports/sysutils/heirloom/heirloom-070715/libuxre/
H A Dcolldata.h124 #define TOPBIT(t) (((t)1) << (sizeof(t) * CHAR_BIT - 1)) macro
137 #define WGHT_SPECIAL TOPBIT(wuchar_type)
138 #define SUBN_SPECIAL TOPBIT(unsigned short)
/dports/emulators/libretro-vice/vice-libretro-5725415/deps/nibtools/
H A Dcrc.c25 #define TOPBIT (1 << (WIDTH - 1)) macro
120 if (remainder & TOPBIT) in crcSlow()
181 if (remainder & TOPBIT) in crcInit()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/wintermute/utils/
H A Dcrc.cpp26 #define TOPBIT (1 << (WIDTH - 1)) macro
115 if (remainder & TOPBIT) { in crcSlow()
170 if (remainder & TOPBIT) { in crcInit()
/dports/games/scummvm/scummvm-2.5.1/engines/wintermute/utils/
H A Dcrc.cpp26 #define TOPBIT (1 << (WIDTH - 1)) macro
115 if (remainder & TOPBIT) { in crcSlow()
170 if (remainder & TOPBIT) { in crcInit()
/dports/sysutils/fluxengine/fluxengine-61ff48c/lib/decoders/
H A Dfluxmapreader.cc99 const uint64_t TOPBIT = 1ULL << 63;
107 while (!(pattern & TOPBIT))
114 while (pattern != TOPBIT)
122 while (!(pattern & TOPBIT));
/dports/games/libretro-opera/opera-libretro-5781f68/libopera/
H A Dopera_dsp.c45 #define TOPBIT 0x80000000 macro
268 return ((a_ & b_ & TOPBIT) || in ADD_CFLAG()
269 (a_ & ~y_ & TOPBIT) || in ADD_CFLAG()
270 (b_ & ~y_ & TOPBIT)); in ADD_CFLAG()
280 return (( a_ & ~b_ & TOPBIT) || in SUB_CFLAG()
281 ( a_ & ~y_ & TOPBIT) || in SUB_CFLAG()
282 (~b_ & ~y_ & TOPBIT)); in SUB_CFLAG()
292 return (( a_ & b_ & ~y_ & TOPBIT) || in ADD_VFLAG()
293 (~a_ & ~b_ & y_ & TOPBIT)); in ADD_VFLAG()
303 return (( a_ & ~b_ & ~y_ & TOPBIT) || in SUB_VFLAG()
[all …]
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/macs/
H A DZuc128Mac.java17 private static final int TOPBIT = 0x80; field in Zuc128Mac
120 for (int bitMask = TOPBIT, bitNo = 0; bitMask > 0; bitMask >>= 1, bitNo++) in update()
H A DZuc256Mac.java17 private static final int TOPBIT = 0x80; field in Zuc256Mac
133 for (int bitMask = TOPBIT, bitNo = 0; bitMask > 0; bitMask >>= 1, bitNo++) in update()
/dports/cad/ghdl/ghdl-1.0.0/libraries/ieee/
H A Dnumeric_bit-body.vhdl160 variable TOPBIT: INTEGER; variable
164 TOPBIT := -1;
167 TOPBIT := J;
171 assert TOPBIT >= 0 report "DIV, MOD, or REM by zero" severity ERROR;
173 for J in NUM'LENGTH-(TOPBIT+1) downto 0 loop
174 if TEMP(TOPBIT+J+1 downto J) >= "0"&DENOM(TOPBIT downto 0) then
175 TEMP(TOPBIT+J+1 downto J) := (TEMP(TOPBIT+J+1 downto J))
176 -("0"&DENOM(TOPBIT downto 0));
179 assert TEMP(TOPBIT+J+1)='0'
H A Dnumeric_std-body.vhdl162 variable TOPBIT: INTEGER; variable
166 TOPBIT := -1;
169 TOPBIT := J;
173 assert TOPBIT >= 0 report "DIV, MOD, or REM by zero" severity ERROR;
175 for J in NUM'LENGTH-(TOPBIT+1) downto 0 loop
176 if TEMP(TOPBIT+J+1 downto J) >= "0"&DENOM(TOPBIT downto 0) then
177 TEMP(TOPBIT+J+1 downto J) := (TEMP(TOPBIT+J+1 downto J))
178 -("0"&DENOM(TOPBIT downto 0));
181 assert TEMP(TOPBIT+J+1)='0'
/dports/cad/nvc/nvc-r1.5.3/lib/ieee/
H A Dnumeric_bit-body.vhdl160 variable TOPBIT: INTEGER; variable
164 TOPBIT := -1;
167 TOPBIT := J;
171 assert TOPBIT >= 0 report "DIV, MOD, or REM by zero" severity ERROR;
173 for J in NUM'LENGTH-(TOPBIT+1) downto 0 loop
174 if TEMP(TOPBIT+J+1 downto J) >= "0"&DENOM(TOPBIT downto 0) then
175 TEMP(TOPBIT+J+1 downto J) := (TEMP(TOPBIT+J+1 downto J))
176 -("0"&DENOM(TOPBIT downto 0));
179 assert TEMP(TOPBIT+J+1)='0'
H A Dnumeric_std-body.vhdl162 variable TOPBIT: INTEGER; variable
166 TOPBIT := -1;
169 TOPBIT := J;
173 assert TOPBIT >= 0 report "DIV, MOD, or REM by zero" severity ERROR;
175 for J in NUM'LENGTH-(TOPBIT+1) downto 0 loop
176 if TEMP(TOPBIT+J+1 downto J) >= "0"&DENOM(TOPBIT downto 0) then
177 TEMP(TOPBIT+J+1 downto J) := (TEMP(TOPBIT+J+1 downto J))
178 -("0"&DENOM(TOPBIT downto 0));
181 assert TEMP(TOPBIT+J+1)='0'
/dports/cad/freehdl/freehdl-0.0.7/ieee/
H A Dnumeric_std.vhdl865 variable TOPBIT: natural; variable
880 TOPBIT:=0;
883 TOPBIT:=j;
892 if CARRY&TEMP(TOPBIT+j downto j) >= "0"&DENOM(TOPBIT downto 0) then
893 diff(TOPBIT+1 downto 0) := (CARRY&TEMP(TOPBIT+j downto j))
896 assert diff(TOPBIT+1)='0'
899 CARRY:=diff(TOPBIT);
900 if TOPBIT+j+1<=TEMP'left then
901 TEMP(TOPBIT+j+1):='0';
903 TEMP(TOPBIT+j downto j):=diff(TOPBIT downto 0);
[all …]
H A Dnumeric_bit.vhdl921 variable TOPBIT: INTEGER; variable
925 TOPBIT := -1;
928 TOPBIT := J;
932 assert TOPBIT >= 0 report "DIV, MOD, or REM by zero" severity ERROR;
934 for J in NUM'LENGTH-(TOPBIT+1) downto 0 loop
935 if TEMP(TOPBIT+J+1 downto J) >= "0"&DENOM(TOPBIT downto 0) then
936 TEMP(TOPBIT+J+1 downto J) := (TEMP(TOPBIT+J+1 downto J))
937 -("0"&DENOM(TOPBIT downto 0));
940 assert TEMP(TOPBIT+J+1)='0'
/dports/cad/ghdl/ghdl-1.0.0/libraries/ieee2008/
H A Dnumeric_bit-body.vhdl145 variable TOPBIT : INTEGER; variable
149 TOPBIT := -1;
152 TOPBIT := J;
156 assert TOPBIT >= 0 report "NUMERIC_BIT.DIVMOD: DIV, MOD, or REM by zero"
159 for J in NUM'length-(TOPBIT+1) downto 0 loop
160 if TEMP(TOPBIT+J+1 downto J) >= "0"&DENOM(TOPBIT downto 0) then
161 TEMP(TOPBIT+J+1 downto J) := (TEMP(TOPBIT+J+1 downto J))
162 -("0"&DENOM(TOPBIT downto 0));
165 assert TEMP(TOPBIT+J+1) = '0'
H A Dnumeric_std-body.vhdl160 variable TOPBIT : INTEGER; variable
164 TOPBIT := -1;
167 TOPBIT := J;
171 assert TOPBIT >= 0 report "NUMERIC_STD.DIVMOD: DIV, MOD, or REM by zero"
174 for J in NUM'length-(TOPBIT+1) downto 0 loop
175 if TEMP(TOPBIT+J+1 downto J) >= "0"&DENOM(TOPBIT downto 0) then
176 TEMP(TOPBIT+J+1 downto J) := (TEMP(TOPBIT+J+1 downto J))
177 -("0"&DENOM(TOPBIT downto 0));
180 assert TEMP(TOPBIT+J+1) = '0'
/dports/math/miracl/miracl-5.6/
H A Dmrgf2m.c398 tb0=(mr_utype)(a&TOPBIT); /* remember top bit */ in mr_mul2()
419 tb0=(a&TOPBIT); /* remember top bits */ in mr_mul2()
545 mr_small *gx=x->w,bit=TOPBIT; in numbits()
2858 bit=TOPBIT; in inverse2()
H A Dmiracl.h228 #define TOPBIT ((mr_small)1<<M1) macro
/dports/science/py-pymol/pymol-open-source-2.4.0/contrib/uiuc/plugins/molfile_plugin/src/
H A Ddtrplugin.cpp374 #define TOPBIT (1 << (WIDTH - 1)) in recursivelyRemove() macro
381 if (remainder & TOPBIT) { in recursivelyRemove()