Home
last modified time | relevance | path

Searched refs:weightMaskNum (Results 1 – 25 of 72) sorted by relevance

123

/dports/emulators/qemu-utils/qemu-4.2.1/tests/fp/berkeley-testfloat-3/source/
H A DgenCases_f16.c292 int weightMaskNum; in f16RandomQInfP3() local
295 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfP3()
297 ((random_ui16() & f16QInfWeightMasks[weightMaskNum]) in f16RandomQInfP3()
298 + f16QInfWeightOffsets[weightMaskNum]) in f16RandomQInfP3()
307 int weightMaskNum; in f16RandomQInfPInf() local
310 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfPInf()
312 (random_ui16() & (f16QInfWeightMasks[weightMaskNum] | 0x03FF)) in f16RandomQInfPInf()
313 + f16QInfWeightOffsets[weightMaskNum]; in f16RandomQInfPInf()
H A DgenCases_f32.c372 int weightMaskNum; in f32RandomQInfP3() local
375 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfP3()
378 & f32QInfWeightMasks[weightMaskNum]) in f32RandomQInfP3()
379 + f32QInfWeightOffsets[weightMaskNum]) in f32RandomQInfP3()
388 int weightMaskNum; in f32RandomQInfPInf() local
391 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfPInf()
393 (random_ui32() & (f32QInfWeightMasks[weightMaskNum] | 0x007FFFFF)) in f32RandomQInfPInf()
394 + f32QInfWeightOffsets[weightMaskNum]; in f32RandomQInfPInf()
H A DgenCases_i32.c298 int weightMaskNum; in i32RandomPInf() local
301 weightMaskNum = randomN_ui8( i32NumPInfWeightMasks ); in i32RandomPInf()
303 (random_ui32() & i32PInfWeightMasks[weightMaskNum]) in i32RandomPInf()
304 + i32PInfWeightOffsets[weightMaskNum]; in i32RandomPInf()
H A DgenCases_ui32.c263 int weightMaskNum; in ui32RandomPInf() local
265 weightMaskNum = randomN_ui8( ui32NumPInfWeightMasks ); in ui32RandomPInf()
266 return random_ui32() & ui32PInfWeightMasks[weightMaskNum]; in ui32RandomPInf()
/dports/emulators/qemu5/qemu-5.2.0/tests/fp/berkeley-testfloat-3/source/
H A DgenCases_f16.c292 int weightMaskNum; in f16RandomQInfP3() local
295 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfP3()
297 ((random_ui16() & f16QInfWeightMasks[weightMaskNum]) in f16RandomQInfP3()
298 + f16QInfWeightOffsets[weightMaskNum]) in f16RandomQInfP3()
307 int weightMaskNum; in f16RandomQInfPInf() local
310 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfPInf()
312 (random_ui16() & (f16QInfWeightMasks[weightMaskNum] | 0x03FF)) in f16RandomQInfPInf()
313 + f16QInfWeightOffsets[weightMaskNum]; in f16RandomQInfPInf()
H A DgenCases_f32.c372 int weightMaskNum; in f32RandomQInfP3() local
375 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfP3()
378 & f32QInfWeightMasks[weightMaskNum]) in f32RandomQInfP3()
379 + f32QInfWeightOffsets[weightMaskNum]) in f32RandomQInfP3()
388 int weightMaskNum; in f32RandomQInfPInf() local
391 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfPInf()
393 (random_ui32() & (f32QInfWeightMasks[weightMaskNum] | 0x007FFFFF)) in f32RandomQInfPInf()
394 + f32QInfWeightOffsets[weightMaskNum]; in f32RandomQInfPInf()
H A DgenCases_i32.c298 int weightMaskNum; in i32RandomPInf() local
301 weightMaskNum = randomN_ui8( i32NumPInfWeightMasks ); in i32RandomPInf()
303 (random_ui32() & i32PInfWeightMasks[weightMaskNum]) in i32RandomPInf()
304 + i32PInfWeightOffsets[weightMaskNum]; in i32RandomPInf()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/tests/fp/berkeley-testfloat-3/source/
H A DgenCases_f32.c372 int weightMaskNum; in f32RandomQInfP3() local
375 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfP3()
378 & f32QInfWeightMasks[weightMaskNum]) in f32RandomQInfP3()
379 + f32QInfWeightOffsets[weightMaskNum]) in f32RandomQInfP3()
388 int weightMaskNum; in f32RandomQInfPInf() local
391 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfPInf()
393 (random_ui32() & (f32QInfWeightMasks[weightMaskNum] | 0x007FFFFF)) in f32RandomQInfPInf()
394 + f32QInfWeightOffsets[weightMaskNum]; in f32RandomQInfPInf()
H A DgenCases_f16.c292 int weightMaskNum; in f16RandomQInfP3() local
295 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfP3()
297 ((random_ui16() & f16QInfWeightMasks[weightMaskNum]) in f16RandomQInfP3()
298 + f16QInfWeightOffsets[weightMaskNum]) in f16RandomQInfP3()
307 int weightMaskNum; in f16RandomQInfPInf() local
310 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfPInf()
312 (random_ui16() & (f16QInfWeightMasks[weightMaskNum] | 0x03FF)) in f16RandomQInfPInf()
313 + f16QInfWeightOffsets[weightMaskNum]; in f16RandomQInfPInf()
H A DgenCases_i32.c298 int weightMaskNum; in i32RandomPInf() local
301 weightMaskNum = randomN_ui8( i32NumPInfWeightMasks ); in i32RandomPInf()
303 (random_ui32() & i32PInfWeightMasks[weightMaskNum]) in i32RandomPInf()
304 + i32PInfWeightOffsets[weightMaskNum]; in i32RandomPInf()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/tests/fp/berkeley-testfloat-3/source/
H A DgenCases_f16.c292 int weightMaskNum; in f16RandomQInfP3() local
295 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfP3()
297 ((random_ui16() & f16QInfWeightMasks[weightMaskNum]) in f16RandomQInfP3()
298 + f16QInfWeightOffsets[weightMaskNum]) in f16RandomQInfP3()
307 int weightMaskNum; in f16RandomQInfPInf() local
310 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfPInf()
312 (random_ui16() & (f16QInfWeightMasks[weightMaskNum] | 0x03FF)) in f16RandomQInfPInf()
313 + f16QInfWeightOffsets[weightMaskNum]; in f16RandomQInfPInf()
H A DgenCases_f32.c372 int weightMaskNum; in f32RandomQInfP3() local
375 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfP3()
378 & f32QInfWeightMasks[weightMaskNum]) in f32RandomQInfP3()
379 + f32QInfWeightOffsets[weightMaskNum]) in f32RandomQInfP3()
388 int weightMaskNum; in f32RandomQInfPInf() local
391 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfPInf()
393 (random_ui32() & (f32QInfWeightMasks[weightMaskNum] | 0x007FFFFF)) in f32RandomQInfPInf()
394 + f32QInfWeightOffsets[weightMaskNum]; in f32RandomQInfPInf()
H A DgenCases_i32.c298 int weightMaskNum; in i32RandomPInf() local
301 weightMaskNum = randomN_ui8( i32NumPInfWeightMasks ); in i32RandomPInf()
303 (random_ui32() & i32PInfWeightMasks[weightMaskNum]) in i32RandomPInf()
304 + i32PInfWeightOffsets[weightMaskNum]; in i32RandomPInf()
/dports/emulators/qemu42/qemu-4.2.1/tests/fp/berkeley-testfloat-3/source/
H A DgenCases_f16.c292 int weightMaskNum; in f16RandomQInfP3() local
295 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfP3()
297 ((random_ui16() & f16QInfWeightMasks[weightMaskNum]) in f16RandomQInfP3()
298 + f16QInfWeightOffsets[weightMaskNum]) in f16RandomQInfP3()
307 int weightMaskNum; in f16RandomQInfPInf() local
310 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfPInf()
312 (random_ui16() & (f16QInfWeightMasks[weightMaskNum] | 0x03FF)) in f16RandomQInfPInf()
313 + f16QInfWeightOffsets[weightMaskNum]; in f16RandomQInfPInf()
H A DgenCases_f32.c372 int weightMaskNum; in f32RandomQInfP3() local
375 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfP3()
378 & f32QInfWeightMasks[weightMaskNum]) in f32RandomQInfP3()
379 + f32QInfWeightOffsets[weightMaskNum]) in f32RandomQInfP3()
388 int weightMaskNum; in f32RandomQInfPInf() local
391 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfPInf()
393 (random_ui32() & (f32QInfWeightMasks[weightMaskNum] | 0x007FFFFF)) in f32RandomQInfPInf()
394 + f32QInfWeightOffsets[weightMaskNum]; in f32RandomQInfPInf()
H A DgenCases_i32.c298 int weightMaskNum; in i32RandomPInf() local
301 weightMaskNum = randomN_ui8( i32NumPInfWeightMasks ); in i32RandomPInf()
303 (random_ui32() & i32PInfWeightMasks[weightMaskNum]) in i32RandomPInf()
304 + i32PInfWeightOffsets[weightMaskNum]; in i32RandomPInf()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/fp/berkeley-testfloat-3/source/
H A DgenCases_f16.c292 int weightMaskNum; in f16RandomQInfP3() local
295 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfP3()
297 ((random_ui16() & f16QInfWeightMasks[weightMaskNum]) in f16RandomQInfP3()
298 + f16QInfWeightOffsets[weightMaskNum]) in f16RandomQInfP3()
307 int weightMaskNum; in f16RandomQInfPInf() local
310 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfPInf()
312 (random_ui16() & (f16QInfWeightMasks[weightMaskNum] | 0x03FF)) in f16RandomQInfPInf()
313 + f16QInfWeightOffsets[weightMaskNum]; in f16RandomQInfPInf()
H A DgenCases_f32.c372 int weightMaskNum; in f32RandomQInfP3() local
375 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfP3()
378 & f32QInfWeightMasks[weightMaskNum]) in f32RandomQInfP3()
379 + f32QInfWeightOffsets[weightMaskNum]) in f32RandomQInfP3()
388 int weightMaskNum; in f32RandomQInfPInf() local
391 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfPInf()
393 (random_ui32() & (f32QInfWeightMasks[weightMaskNum] | 0x007FFFFF)) in f32RandomQInfPInf()
394 + f32QInfWeightOffsets[weightMaskNum]; in f32RandomQInfPInf()
H A DgenCases_i32.c298 int weightMaskNum; in i32RandomPInf() local
301 weightMaskNum = randomN_ui8( i32NumPInfWeightMasks ); in i32RandomPInf()
303 (random_ui32() & i32PInfWeightMasks[weightMaskNum]) in i32RandomPInf()
304 + i32PInfWeightOffsets[weightMaskNum]; in i32RandomPInf()
/dports/emulators/qemu/qemu-6.2.0/tests/fp/berkeley-testfloat-3/source/
H A DgenCases_f16.c292 int weightMaskNum; in f16RandomQInfP3() local
295 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfP3()
297 ((random_ui16() & f16QInfWeightMasks[weightMaskNum]) in f16RandomQInfP3()
298 + f16QInfWeightOffsets[weightMaskNum]) in f16RandomQInfP3()
307 int weightMaskNum; in f16RandomQInfPInf() local
310 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfPInf()
312 (random_ui16() & (f16QInfWeightMasks[weightMaskNum] | 0x03FF)) in f16RandomQInfPInf()
313 + f16QInfWeightOffsets[weightMaskNum]; in f16RandomQInfPInf()
H A DgenCases_f32.c372 int weightMaskNum; in f32RandomQInfP3() local
375 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfP3()
378 & f32QInfWeightMasks[weightMaskNum]) in f32RandomQInfP3()
379 + f32QInfWeightOffsets[weightMaskNum]) in f32RandomQInfP3()
388 int weightMaskNum; in f32RandomQInfPInf() local
391 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfPInf()
393 (random_ui32() & (f32QInfWeightMasks[weightMaskNum] | 0x007FFFFF)) in f32RandomQInfPInf()
394 + f32QInfWeightOffsets[weightMaskNum]; in f32RandomQInfPInf()
H A DgenCases_i32.c298 int weightMaskNum; in i32RandomPInf() local
301 weightMaskNum = randomN_ui8( i32NumPInfWeightMasks ); in i32RandomPInf()
303 (random_ui32() & i32PInfWeightMasks[weightMaskNum]) in i32RandomPInf()
304 + i32PInfWeightOffsets[weightMaskNum]; in i32RandomPInf()
/dports/emulators/qemu60/qemu-6.0.0/tests/fp/berkeley-testfloat-3/source/
H A DgenCases_f16.c292 int weightMaskNum; in f16RandomQInfP3() local
295 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfP3()
297 ((random_ui16() & f16QInfWeightMasks[weightMaskNum]) in f16RandomQInfP3()
298 + f16QInfWeightOffsets[weightMaskNum]) in f16RandomQInfP3()
307 int weightMaskNum; in f16RandomQInfPInf() local
310 weightMaskNum = randomN_ui8( f16NumQInfWeightMasks ); in f16RandomQInfPInf()
312 (random_ui16() & (f16QInfWeightMasks[weightMaskNum] | 0x03FF)) in f16RandomQInfPInf()
313 + f16QInfWeightOffsets[weightMaskNum]; in f16RandomQInfPInf()
H A DgenCases_f32.c372 int weightMaskNum; in f32RandomQInfP3() local
375 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfP3()
378 & f32QInfWeightMasks[weightMaskNum]) in f32RandomQInfP3()
379 + f32QInfWeightOffsets[weightMaskNum]) in f32RandomQInfP3()
388 int weightMaskNum; in f32RandomQInfPInf() local
391 weightMaskNum = randomN_ui8( f32NumQInfWeightMasks ); in f32RandomQInfPInf()
393 (random_ui32() & (f32QInfWeightMasks[weightMaskNum] | 0x007FFFFF)) in f32RandomQInfPInf()
394 + f32QInfWeightOffsets[weightMaskNum]; in f32RandomQInfPInf()
H A DgenCases_i32.c298 int weightMaskNum; in i32RandomPInf() local
301 weightMaskNum = randomN_ui8( i32NumPInfWeightMasks ); in i32RandomPInf()
303 (random_ui32() & i32PInfWeightMasks[weightMaskNum]) in i32RandomPInf()
304 + i32PInfWeightOffsets[weightMaskNum]; in i32RandomPInf()

123