/openbmc/qemu/target/hexagon/imported/ |
H A D | mpy.idef | 256 { fSETWORD(0,RddV,fSAT(fSCALE(N,fMPY16SS(fGETHALF(0,RssV),fGETHALF(0,RttV)))));\ 257 fSETWORD(1,RddV,fSAT(fSCALE(N,fMPY16SS(fGETHALF(2,RssV),fGETHALF(2,RttV)))));\ 264 { fSETWORD(0,RxxV,fSAT(fGETWORD(0,RxxV) + fSCALE(N,fMPY16SS(fGETHALF(0,RssV),fGETHALF(0,RttV)))));\ 265 fSETWORD(1,RxxV,fSAT(fGETWORD(1,RxxV) + fSCALE(N,fMPY16SS(fGETHALF(2,RssV),fGETHALF(2,RttV)))));\ 272 { fSETWORD(0,RxxV,fGETWORD(0,RxxV) + fMPY16SS(fGETHALF(0,RssV),fGETHALF(0,RttV)));\ 273 fSETWORD(1,RxxV,fGETWORD(1,RxxV) + fMPY16SS(fGETHALF(2,RssV),fGETHALF(2,RttV)));\ 288 { RxxV = RxxV + fMPY16SS(fGETHALF(0,RssV),fGETHALF(0,RttV))\ 289 + fMPY16SS(fGETHALF(1,RssV),fGETHALF(1,RttV))\ 290 + fMPY16SS(fGETHALF(2,RssV),fGETHALF(2,RttV))\ 291 + fMPY16SS(fGETHALF(3,RssV),fGETHALF(3,RttV));\ [all …]
|
H A D | alu.idef | 138 { RddV=RssV+RttV;}) 142 { fADDSAT64(RddV,RssV,RttV);}) 146 { RddV=RttV+fSXTN(32,64,fGETWORD(0,RssV));}) 150 { RddV=RttV+fSXTN(32,64,fGETWORD(1,RssV));}) 154 { RddV=RttV-RssV;}) 160 RddV = RssV + RttV + fLSBOLD(PxV); 161 PxV = f8BITSOF(fCARRY_FROM_ADD(RssV,RttV,fLSBOLD(PxV))); 166 RddV = RssV + ~RttV + fLSBOLD(PxV); 167 PxV = f8BITSOF(fCARRY_FROM_ADD(RssV,~RttV,fLSBOLD(PxV))); 184 { fSETHALF(1,RddV,fSATN(16,-fGETHALF(1,RssV))); [all …]
|
H A D | shift.idef | 164 tmp = fASHIFTR(RssV,uiV,8_8); 201 RddV = (fLSHIFTR(RssV,uiV*8,8_8))|(fASHIFTL(RttV,((8-uiV)*8),8_8)); 206 { RddV = fLSHIFTR(RssV,(PuV&0x7)*8,8_8)|(fASHIFTL(RttV,(8-(PuV&0x7))*8,8_8));}) 210 { RddV = fASHIFTL(RttV,uiV*8,8_8) | fZXTN(uiV*8,64,RssV); }) 214 { RddV = fASHIFTL(RttV,(PuV&7)*8,8_8) | fZXTN((PuV&7)*8,64,RssV); }) 342 RxxV |= ((RssV & ((fCONSTLL(1)<<width)-1)) << offset); 351 RddV = fSXTN(width,64,(fCAST8_8u(RssV) >> offset)); 360 RddV = fZXTN(width,64,(fCAST8_8u(RssV) >> offset)); 423 RxxV |= ((RssV & mask) << offset); 433 RddV = fSXTN(width,64,fBIDIR_LSHIFTR(fCAST8_8u(RssV),offset,8_8)); [all …]
|
H A D | compare.idef | 42 {PdV=f8BITSOF(RssV==RttV);}) 46 {PdV=f8BITSOF(RssV>RttV);}) 50 {PdV=f8BITSOF(fCAST8u(RssV)>fCAST8u(RttV));}) 292 fSETBYTE(i,RddV,(fGETBIT(i,PuV)?(fGETBYTE(i,RssV)):(fGETBYTE(i,RttV)))); 312 fSETBIT(i,PdV,(fGETBYTE(i,RssV) == fGETBYTE(i,RttV))); 321 fSETBIT(i,PdV,(fGETUBYTE(i,RssV) == uiV)); 331 if (fGETBYTE(i,RssV) == fGETBYTE(i,RttV)) PdV = 0xff; 341 if (fGETBYTE(i,RssV) == fGETBYTE(i,RttV)) PdV = 0xff; 351 fSETBIT(i,PdV,(fGETUBYTE(i,RssV) > fGETUBYTE(i,RttV))); 360 fSETBIT(i,PdV,(fGETUBYTE(i,RssV) > uiV)); [all …]
|
H A D | float.idef | 210 { RddV=fUNDOUBLE(fDOUBLE(RssV)+fDOUBLE(RttV));}) 214 { RddV=fUNDOUBLE(fDOUBLE(RssV)-fDOUBLE(RttV));}) 218 { RddV = fUNDOUBLE(fDF_MAX(fDOUBLE(RssV),fDOUBLE(RttV))); }) 222 { RddV = fUNDOUBLE(fDF_MIN(fDOUBLE(RssV),fDOUBLE(RttV))); }) 227 …if (fDF_ISDENORM(RssV) && fDF_ISBIG(RttV) && fDF_ISNORMAL(RttV)) RddV = fUNDOUBLE(fDOUBLE(RssV) * … 228 …else if (fDF_ISDENORM(RttV) && fDF_ISBIG(RssV) && fDF_ISNORMAL(RssV)) RddV = fUNDOUBLE(fDOUBLE(Rss… 229 else RddV = RssV; 236 prod = fMPY32UU(fGETUWORD(0,RssV),fGETUWORD(0,RttV)); 244 RxxV += (fGETUWORD(0,RssV) * (0x00100000 | fZXTN(20,64,fGETUWORD(1,RttV)))) << 1; 250 RxxV = fUNDOUBLE(fDF_MPY_HH(fDOUBLE(RssV),fDOUBLE(RttV),RxxV)); [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | op_helper.c | 358 int64_t RxxV, int64_t RssV, int64_t RttV, in HELPER() 363 int sv = sextract64(RssV, i * 16, 16); in HELPER() 376 int64_t RxxV, int64_t RssV, int64_t RttV) in HELPER() 381 int sv = sextract64(RssV, i * 16, 16); in HELPER() 391 int64_t HELPER(cabacdecbin_val)(int64_t RssV, int64_t RttV) in HELPER() 405 range = fGETWORD(0, RssV); in HELPER() 406 offset = fGETWORD(1, RssV); in HELPER() 434 int32_t HELPER(cabacdecbin_pred)(int64_t RssV, int64_t RttV) in HELPER() 448 range = fGETWORD(0, RssV); in HELPER() 449 offset = fGETWORD(1, RssV); in HELPER() [all …]
|
H A D | gen_tcg.h | 593 gen_helper_vacsh_pred(PeV, tcg_env, RxxV, RssV, RttV); \ 594 gen_helper_vacsh_val(RxxV, tcg_env, RxxV, RssV, RttV, \ 601 gen_helper_cabacdecbin_pred(p0, RssV, RttV); \ 602 gen_helper_cabacdecbin_val(RddV, RssV, RttV); \ 647 tcg_gen_add2_i64(RddV, carry, RssV, zero, carry, zero); \ 662 tcg_gen_add2_i64(RddV, carry, RssV, zero, carry, zero); \ 684 gen_get_byte_i64(right, i, RssV, false); \ 1176 tcg_gen_ctzi_i64(tmp, RssV, 64); \ 1182 tcg_gen_not_i64(tmp, RssV); \ 1201 gen_asr_r_svw_trun(ctx, RdV, RssV, RtV) [all …]
|
H A D | genptr.c | 1138 TCGv_i64 RssV, TCGv RtV) in gen_asr_r_svw_trun() argument 1161 tcg_gen_sextract_i64(tmp64, RssV, i * 32, 32); in gen_asr_r_svw_trun() 1174 tcg_gen_sextract_i64(tmp64, RssV, i * 32, 32); in gen_asr_r_svw_trun()
|
/openbmc/qemu/target/hexagon/idef-parser/ |
H A D | README.rst | 249 to simplify parsing. For instance, variable names such as ``RdV``, ``RssV``,
|