/include/math-emu/ |
D | op-common.h | 229 #define _FP_ADD_INTERNAL(fs, wc, R, X, Y, OP) \ argument 245 R##_e = Y##_e; \ 256 R##_e = X##_e; \ 259 R##_c = FP_CLS_NORMAL; \ 263 R##_s = X##_s; \ 264 _FP_FRAC_ADD_##wc(R, X, Y); \ 265 if (_FP_FRAC_OVERP_##wc(fs, R)) \ 267 _FP_FRAC_SRS_##wc(R, 1, _FP_WFRACBITS_##fs); \ 268 R##_e++; \ 273 R##_s = X##_s; \ [all …]
|
D | double.h | 109 #define FP_NEG_D(R,X) _FP_NEG(D,2,R,X) argument 110 #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) argument 111 #define FP_SUB_D(R,X,Y) _FP_SUB(D,2,R,X,Y) argument 112 #define FP_MUL_D(R,X,Y) _FP_MUL(D,2,R,X,Y) argument 113 #define FP_DIV_D(R,X,Y) _FP_DIV(D,2,R,X,Y) argument 114 #define FP_SQRT_D(R,X) _FP_SQRT(D,2,R,X) argument 115 #define _FP_SQRT_MEAT_D(R,S,T,X,Q) _FP_SQRT_MEAT_2(R,S,T,X,Q) argument 181 #define FP_NEG_D(R,X) _FP_NEG(D,1,R,X) argument 182 #define FP_ADD_D(R,X,Y) _FP_ADD(D,1,R,X,Y) argument 183 #define FP_SUB_D(R,X,Y) _FP_SUB(D,1,R,X,Y) argument [all …]
|
D | quad.h | 115 #define FP_NEG_Q(R,X) _FP_NEG(Q,4,R,X) argument 116 #define FP_ADD_Q(R,X,Y) _FP_ADD(Q,4,R,X,Y) argument 117 #define FP_SUB_Q(R,X,Y) _FP_SUB(Q,4,R,X,Y) argument 118 #define FP_MUL_Q(R,X,Y) _FP_MUL(Q,4,R,X,Y) argument 119 #define FP_DIV_Q(R,X,Y) _FP_DIV(Q,4,R,X,Y) argument 120 #define FP_SQRT_Q(R,X) _FP_SQRT(Q,4,R,X) argument 121 #define _FP_SQRT_MEAT_Q(R,S,T,X,Q) _FP_SQRT_MEAT_4(R,S,T,X,Q) argument 188 #define FP_NEG_Q(R,X) _FP_NEG(Q,2,R,X) argument 189 #define FP_ADD_Q(R,X,Y) _FP_ADD(Q,2,R,X,Y) argument 190 #define FP_SUB_Q(R,X,Y) _FP_SUB(Q,2,R,X,Y) argument [all …]
|
D | single.h | 98 #define FP_NEG_S(R,X) _FP_NEG(S,1,R,X) argument 99 #define FP_ADD_S(R,X,Y) _FP_ADD(S,1,R,X,Y) argument 100 #define FP_SUB_S(R,X,Y) _FP_SUB(S,1,R,X,Y) argument 101 #define FP_MUL_S(R,X,Y) _FP_MUL(S,1,R,X,Y) argument 102 #define FP_DIV_S(R,X,Y) _FP_DIV(S,1,R,X,Y) argument 103 #define FP_SQRT_S(R,X) _FP_SQRT(S,1,R,X) argument 104 #define _FP_SQRT_MEAT_S(R,S,T,X,Q) _FP_SQRT_MEAT_1(R,S,T,X,Q) argument
|
D | op-1.h | 52 #define _FP_FRAC_ADD_1(R,X,Y) (R##_f = X##_f + Y##_f) argument 53 #define _FP_FRAC_SUB_1(R,X,Y) (R##_f = X##_f - Y##_f) argument 127 #define _FP_MUL_MEAT_1_imm(wfracbits, R, X, Y) \ argument 129 R##_f = X##_f * Y##_f; \ 133 _FP_FRAC_SRS_1(R, wfracbits-1, 2*wfracbits); \ 138 #define _FP_MUL_MEAT_1_wide(wfracbits, R, X, Y, doit) \ argument 146 R##_f = _Z_f0; \ 151 #define _FP_MUL_MEAT_1_hard(wfracbits, R, X, Y) \ argument 176 R##_f = _z_f0; \ 189 #define _FP_DIV_MEAT_1_imm(fs, R, X, Y, doit) \ argument [all …]
|
D | op-2.h | 88 #define _FP_FRAC_ADD_2(R,X,Y) \ argument 89 __FP_FRAC_ADD_2(R##_f1, R##_f0, X##_f1, X##_f0, Y##_f1, Y##_f0) 91 #define _FP_FRAC_SUB_2(R,X,Y) \ argument 92 __FP_FRAC_SUB_2(R##_f1, R##_f0, X##_f1, X##_f0, Y##_f1, Y##_f0) 97 #define _FP_FRAC_CLZ_2(R,X) \ argument 100 __FP_CLZ(R,X##_f1); \ 103 __FP_CLZ(R,X##_f0); \ 104 R += _FP_W_TYPE_SIZE; \ 129 #define __FP_CLZ_2(R, xh, xl) \ argument 132 __FP_CLZ(R,xh); \ [all …]
|
D | op-4.h | 111 #define _FP_FRAC_ADD_4(R,X,Y) \ argument 112 __FP_FRAC_ADD_4(R##_f[3], R##_f[2], R##_f[1], R##_f[0], \ 116 #define _FP_FRAC_SUB_4(R,X,Y) \ argument 117 __FP_FRAC_SUB_4(R##_f[3], R##_f[2], R##_f[1], R##_f[0], \ 160 #define _FP_FRAC_CLZ_4(R,X) \ argument 164 __FP_CLZ(R,X##_f[3]); \ 168 __FP_CLZ(R,X##_f[2]); \ 169 R += _FP_W_TYPE_SIZE; \ 173 __FP_CLZ(R,X##_f[2]); \ 174 R += _FP_W_TYPE_SIZE*2; \ [all …]
|
/include/linux/ |
D | reciprocal_div.h | 33 static inline u32 reciprocal_divide(u32 a, struct reciprocal_value R) in reciprocal_divide() argument 35 u32 t = (u32)(((u64)a * R.m) >> 32); in reciprocal_divide() 36 return (t + ((a - t) >> R.sh1)) >> R.sh2; in reciprocal_divide()
|
/include/target/ |
D | target_core_base.h | 158 #define R(x) (__force sense_reason_t )(x) macro 159 TCM_NO_SENSE = R(0x00), 160 TCM_NON_EXISTENT_LUN = R(0x01), 161 TCM_UNSUPPORTED_SCSI_OPCODE = R(0x02), 162 TCM_INCORRECT_AMOUNT_OF_DATA = R(0x03), 163 TCM_UNEXPECTED_UNSOLICITED_DATA = R(0x04), 164 TCM_SERVICE_CRC_ERROR = R(0x05), 165 TCM_SNACK_REJECTED = R(0x06), 166 TCM_SECTOR_COUNT_TOO_MANY = R(0x07), 167 TCM_INVALID_CDB_FIELD = R(0x08), [all …]
|