/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))); 222 { RddV = fMAX(RssV,RttV); }) [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))); 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))); 369 fSETBIT(i,PdV,(fGETBYTE(i,RssV) > fGETBYTE(i,RttV))); 426 fSETBIT(i*2,PdV, (fGETHALF(i,RssV) == fGETHALF(i,RttV))); [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… 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)); 257 {PdV=f8BITSOF(fDOUBLE(RssV)==fDOUBLE(RttV));}) [all …]
|
H A D | shift.idef | 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); }) 379 fHIDE(int) width=fZXTN(6,32,(fGETWORD(1,RttV))); 380 fHIDE(int) offset=fSXTN(7,32,(fGETWORD(0,RttV))); 396 fHIDE(int) width=fZXTN(6,32,(fGETWORD(1,RttV))); 397 fHIDE(int) offset=fSXTN(7,32,(fGETWORD(0,RttV))); 406 fHIDE(int) width=fZXTN(6,32,(fGETWORD(1,RttV))); 407 fHIDE(int) offset=fSXTN(7,32,(fGETWORD(0,RttV))); [all …]
|
H A D | system.idef | 64 fGETUHALF(0,RttV), /*height*/ 65 fGETUHALF(1,RttV), /*width*/ 66 fGETUHALF(2,RttV), /*stride*/ 67 fGETUHALF(3,RttV)); /*flags*/
|
H A D | ldst.idef | 120 …emd","Store Double integer",ATTRIBS(A_REGWRSIZE_8B,A_MEMSIZE_8B,A_STORE),"3",fSTORE(1,8,EA,RttV),3) 144 …STORE,A_RESTRICT_SLOT0ONLY),"Store Release Double integer", { fEA_REG(RsV); fSTORE(1,8,EA,RttV); }) 147 …STORE,A_RESTRICT_SLOT0ONLY),"Store Release Double integer", { fEA_REG(RsV); fSTORE(1,8,EA,RttV); }) 207 { fEA_REG(RsV); fSTORE_LOCKED(1,8,EA,RttV,PdV) }) 276 …re Double integer",ATTRIBS(A_REGWRSIZE_8B,A_ARCHV2,A_MEMSIZE_8B,A_STORE),"3",3,fSTORE(1,8,EA,RttV)) 369 …tore Double integer",ATTRIBS(A_REGWRSIZE_8B,A_MEMSIZE_8B,A_STORE,A_ARCHV2),"3",fSTORE(1,8,EA,RttV))
|
H A D | subinsns.idef | 140 …E_8B,A_MEMSIZE_8B,A_STORE,A_SUBINSN), "store dword",{fEA_RI(fREAD_SP(),siV); fSTORE(1,8,EA,RttV);})
|
/openbmc/qemu/target/hexagon/ |
H A D | op_helper.c | 358 int64_t RxxV, int64_t RssV, int64_t RttV, in HELPER() 364 int tv = sextract64(RttV, i * 16, 16); in HELPER() 376 int64_t RxxV, int64_t RssV, int64_t RttV) in HELPER() 382 int tv = sextract64(RttV, i * 16, 16); in HELPER() 391 int64_t HELPER(cabacdecbin_val)(int64_t RssV, int64_t RttV) in HELPER() 402 state = fEXTRACTU_RANGE(fGETWORD(1, RttV), 5, 0); in HELPER() 403 valMPS = fEXTRACTU_RANGE(fGETWORD(1, RttV), 8, 8); in HELPER() 404 bitpos = fEXTRACTU_RANGE(fGETWORD(0, RttV), 4, 0); in HELPER() 434 int32_t HELPER(cabacdecbin_pred)(int64_t RssV, int64_t RttV) in HELPER() 445 state = fEXTRACTU_RANGE(fGETWORD(1, RttV), 5, 0); in HELPER() [all …]
|
H A D | gen_tcg.h | 466 fGEN_TCG_STORE_pcr(3, fSTORE(1, 8, EA, RttV)) 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); \ 648 tcg_gen_add2_i64(RddV, carry, RddV, carry, RttV, zero); \ 661 tcg_gen_not_i64(not_RttV, RttV); \ 683 gen_get_byte_i64(left, i, RttV, false); \ 1199 gen_insert_rp(ctx, RxV, RsV, RttV) 1286 gen_helper_dfadd(RddV, tcg_env, RssV, RttV) [all …]
|
H A D | genptr.c | 1087 static void gen_insert_rp(DisasContext *ctx, TCGv RxV, TCGv RsV, TCGv_i64 RttV) in gen_insert_rp() argument 1110 tcg_gen_extrh_i64_i32(width, RttV); in gen_insert_rp() 1112 tcg_gen_extrl_i64_i32(offset, RttV); in gen_insert_rp()
|
/openbmc/qemu/target/hexagon/imported/mmvec/ |
H A D | ext.idef | 2315 …VxV.h[i]= fVSATH( ( ( fMPY16SS(VxV.h[i],VuV.h[i])<<1) + (fGETHALF(( (VuV.h[i]>>14)&0x3), RttV )<<1… 2319 …VxV.h[i]= fVSATH( ( fMPY16SU(VxV.h[i],VuV.uh[i]) + (fGETUHALF(((VuV.uh[i]>>14)&0x3), RttV )<<15))… 2322 …VxV.h[i]= fVSATH( ( fMPY16SU(VxV.h[i],VuV.uh[i]) - (fGETUHALF(((VuV.uh[i]>>14)&0x3), RttV )<<15))… 2326 VdV.h[i]= fGETHALF( ((VuV.h[i]>>14)&0x3), RttV ))
|