/third_party/mesa3d/src/freedreno/afuc/ |
D | emu.c | 51 emu_alu(struct emu *emu, afuc_opc opc, uint32_t src1, uint32_t src2) in emu_alu() argument 57 emu->carry = tmp >> 32; in emu_alu() 60 return src1 + src2 + emu->carry; in emu_alu() 63 emu->carry = tmp >> 32; in emu_alu() 66 return src1 - src2 + emu->carry; in emu_alu() 112 load_store_addr(struct emu *emu, unsigned gpr) in load_store_addr() argument 116 uintptr_t addr = emu_get_reg32(emu, &LOAD_STORE_HI); in load_store_addr() 119 return addr + emu_get_gpr_reg(emu, gpr); in load_store_addr() 123 emu_instr(struct emu *emu, afuc_instr *instr) in emu_instr() argument 125 uint32_t rem = emu_get_gpr_reg(emu, REG_REM); in emu_instr() [all …]
|
D | emu-regs.c | 50 emu_get_control_reg(struct emu *emu, unsigned n) in emu_get_control_reg() argument 52 assert(n < ARRAY_SIZE(emu->control_regs.val)); in emu_get_control_reg() 54 return emu_get_draw_state_reg(emu, n); in emu_get_control_reg() 55 return emu->control_regs.val[n]; in emu_get_control_reg() 59 emu_set_control_reg(struct emu *emu, unsigned n, uint32_t val) in emu_set_control_reg() argument 66 assert(n < ARRAY_SIZE(emu->control_regs.val)); in emu_set_control_reg() 67 BITSET_SET(emu->control_regs.written, n); in emu_set_control_reg() 68 emu->control_regs.val[n] = val; in emu_set_control_reg() 72 unsigned write_addr = emu_get_reg32(emu, &PACKET_TABLE_WRITE_ADDR); in emu_set_control_reg() 74 assert(write_addr < ARRAY_SIZE(emu->jmptbl)); in emu_set_control_reg() [all …]
|
D | emu-ui.c | 146 dump_gpr_register(struct emu *emu, unsigned n) in dump_gpr_register() argument 151 if (BITSET_TEST(emu->gpr_regs.written, n)) { in dump_gpr_register() 152 printdelta("%08x\n", emu->gpr_regs.val[n]); in dump_gpr_register() 154 printf("%08x\n", emu->gpr_regs.val[n]); in dump_gpr_register() 159 dump_gpr_registers(struct emu *emu) in dump_gpr_registers() argument 161 for (unsigned i = 0; i < ARRAY_SIZE(emu->gpr_regs.val); i++) { in dump_gpr_registers() 162 dump_gpr_register(emu, i); in dump_gpr_registers() 167 dump_gpu_register(struct emu *emu, unsigned n) in dump_gpu_register() argument 178 if (BITSET_TEST(emu->gpu_regs.written, n)) { in dump_gpu_register() 179 printdelta("%08x\n", emu->gpu_regs.val[n]); in dump_gpu_register() [all …]
|
D | emu.h | 151 struct emu { struct 225 void emu_step(struct emu *emu); argument 226 void emu_run_bootstrap(struct emu *emu); 227 void emu_init(struct emu *emu); 228 void emu_fini(struct emu *emu); 234 uint32_t emu_mem_read_dword(struct emu *emu, uintptr_t gpuaddr); 235 void emu_mem_write_dword(struct emu *emu, uintptr_t gpuaddr, uint32_t val); 238 void emu_main_prompt(struct emu *emu); 239 void emu_clear_state_change(struct emu *emu); 240 void emu_dump_state_change(struct emu *emu); [all …]
|
D | emu-ds.c | 45 emu_get_draw_state_reg(struct emu *emu, unsigned n) in emu_get_draw_state_reg() argument 48 return emu->control_regs.val[n]; in emu_get_draw_state_reg() 52 emu_set_draw_state_reg(struct emu *emu, unsigned n, uint32_t val) in emu_set_draw_state_reg() argument 54 struct emu_draw_state *ds = &emu->draw_state; in emu_set_draw_state_reg() 55 unsigned cur_idx = emu_get_reg32(emu, &DRAW_STATE_SEL); in emu_set_draw_state_reg() 63 unsigned active_mask = emu_get_reg32(emu, &DRAW_STATE_ACTIVE_BITMASK); in emu_set_draw_state_reg() 66 emu_set_reg32(emu, &DRAW_STATE_ACTIVE_BITMASK, active_mask); in emu_set_draw_state_reg() 67 emu_set_reg32(emu, &DRAW_STATE_SEL, cur_idx); in emu_set_draw_state_reg() 74 emu_set_reg32(emu, &DRAW_STATE_HDR, ds->state[val].hdr); in emu_set_draw_state_reg() 75 emu_set_reg64(emu, &DRAW_STATE_BASE, ds->state[val].base); in emu_set_draw_state_reg() [all …]
|
D | disasm.c | 761 disasm(struct emu *emu) in disasm() argument 763 uint32_t sizedwords = emu->sizedwords; in disasm() 769 emu_init(emu); in disasm() 773 disasm_instr(emu->instrs, emu->gpr_regs.pc); in disasm() 774 emu_step(emu); in disasm() 778 emu_run_bootstrap(emu); in disasm() 781 if (emu_get_reg64(emu, &CP_LPAC_SQE_INSTR_BASE)) { in disasm() 782 lpac_offset = emu_get_reg64(emu, &CP_LPAC_SQE_INSTR_BASE) - in disasm() 783 emu_get_reg64(emu, &CP_SQE_INSTR_BASE); in disasm() 788 setup_packet_table(emu->jmptbl, ARRAY_SIZE(emu->jmptbl)); in disasm() [all …]
|
D | meson.build | 81 'emu.c', 82 'emu.h', 83 'emu-ds.c', 84 'emu-regs.c', 85 'emu-ui.c',
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | BuiltInFunctionEmulatorGLSL.cpp | 17 void InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds(BuiltInFunctionEmulator *emu, in InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds() argument 22 emu->addEmulatedFunction(BuiltInId::abs_Int1, "int abs_emu(int x) { return x * sign(x); }"); in InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds() 26 void InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds(BuiltInFunctionEmulator *emu, in InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds() argument 34 emu->addEmulatedFunction( in InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds() 37 emu->addEmulatedFunction( in InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds() 48 emu->addEmulatedFunction( in InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds() 59 emu->addEmulatedFunction( in InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds() 72 void InitBuiltInAtanFunctionEmulatorForGLSLWorkarounds(BuiltInFunctionEmulator *emu) in InitBuiltInAtanFunctionEmulatorForGLSLWorkarounds() argument 74 emu->addEmulatedFunction(BuiltInId::atan_Float1_Float1, in InitBuiltInAtanFunctionEmulatorForGLSLWorkarounds() 107 emu->addEmulatedFunctionWithDependency(BuiltInId::atan_Float1_Float1, ids[dim - 1], in InitBuiltInAtanFunctionEmulatorForGLSLWorkarounds() [all …]
|
D | BuiltInFunctionEmulatorHLSL.cpp | 19 void InitBuiltInIsnanFunctionEmulatorForHLSLWorkarounds(BuiltInFunctionEmulator *emu, in InitBuiltInIsnanFunctionEmulatorForHLSLWorkarounds() argument 25 emu->addEmulatedFunction(BuiltInId::isnan_Float1, in InitBuiltInIsnanFunctionEmulatorForHLSLWorkarounds() 32 emu->addEmulatedFunction( in InitBuiltInIsnanFunctionEmulatorForHLSLWorkarounds() 44 emu->addEmulatedFunction( in InitBuiltInIsnanFunctionEmulatorForHLSLWorkarounds() 56 emu->addEmulatedFunction( in InitBuiltInIsnanFunctionEmulatorForHLSLWorkarounds() 69 void InitBuiltInFunctionEmulatorForHLSL(BuiltInFunctionEmulator *emu) in InitBuiltInFunctionEmulatorForHLSL() argument 71 emu->addFunctionMap(FindHLSLFunction); in InitBuiltInFunctionEmulatorForHLSL() 76 emu->addEmulatedFunction(BuiltInId::umulExtended_UInt1_UInt1_UInt1_UInt1, in InitBuiltInFunctionEmulatorForHLSL() 89 emu->addEmulatedFunctionWithDependency( in InitBuiltInFunctionEmulatorForHLSL() 97 emu->addEmulatedFunctionWithDependency( in InitBuiltInFunctionEmulatorForHLSL() [all …]
|
D | BuiltInFunctionEmulatorGLSL.h | 19 void InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds(BuiltInFunctionEmulator *emu, 25 void InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds(BuiltInFunctionEmulator *emu, 30 void InitBuiltInAtanFunctionEmulatorForGLSLWorkarounds(BuiltInFunctionEmulator *emu); 35 void InitBuiltInFunctionEmulatorForGLSLMissingFunctions(BuiltInFunctionEmulator *emu,
|
D | TranslatorGLSL.cpp | 25 void TranslatorGLSL::initBuiltInFunctionEmulator(BuiltInFunctionEmulator *emu, in initBuiltInFunctionEmulator() argument 30 InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds(emu, getShaderType()); in initBuiltInFunctionEmulator() 35 InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds(emu, getShaderVersion()); in initBuiltInFunctionEmulator() 40 InitBuiltInAtanFunctionEmulatorForGLSLWorkarounds(emu); in initBuiltInFunctionEmulator() 44 InitBuiltInFunctionEmulatorForGLSLMissingFunctions(emu, getShaderType(), targetGLSLVersion); in initBuiltInFunctionEmulator()
|
D | BuiltInFunctionEmulatorHLSL.h | 17 void InitBuiltInFunctionEmulatorForHLSL(BuiltInFunctionEmulator *emu); 22 void InitBuiltInIsnanFunctionEmulatorForHLSLWorkarounds(BuiltInFunctionEmulator *emu,
|
D | TranslatorESSL.cpp | 21 void TranslatorESSL::initBuiltInFunctionEmulator(BuiltInFunctionEmulator *emu, in initBuiltInFunctionEmulator() argument 26 InitBuiltInAtanFunctionEmulatorForGLSLWorkarounds(emu); in initBuiltInFunctionEmulator()
|
/third_party/typescript/tests/baselines/reference/ |
D | noImplicitAnyIndexing.types | 5 emu 6 >emu : MyEmusEnum.emu 17 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 19 >MyEmusEnum[MyEmusEnum.emu] : string 21 >MyEmusEnum.emu : MyEmusEnum 23 >emu : MyEmusEnum 33 var strRepresentation4 = MyEmusEnum["emu"]; 35 >MyEmusEnum["emu"] : MyEmusEnum 37 >"emu" : "emu" 105 var mResult1 = m[MyEmusEnum.emu]; [all …]
|
D | noImplicitAnyIndexingSuppressed.types | 5 emu 6 >emu : MyEmusEnum.emu 17 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 19 >MyEmusEnum[MyEmusEnum.emu] : string 21 >MyEmusEnum.emu : MyEmusEnum 23 >emu : MyEmusEnum 33 var strRepresentation4 = MyEmusEnum["emu"]; 35 >MyEmusEnum["emu"] : MyEmusEnum 37 >"emu" : "emu" 104 var mResult1 = m[MyEmusEnum.emu]; [all …]
|
D | noImplicitAnyIndexing.symbols | 5 emu 6 >emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexing.ts, 0, 17)) 15 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 18 >MyEmusEnum.emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexing.ts, 0, 17)) 20 >emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexing.ts, 0, 17)) 28 var strRepresentation4 = MyEmusEnum["emu"]; 31 >"emu" : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexing.ts, 0, 17)) 88 var mResult1 = m[MyEmusEnum.emu]; 91 >MyEmusEnum.emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexing.ts, 0, 17)) 93 >emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexing.ts, 0, 17)) [all …]
|
D | noImplicitAnyIndexingSuppressed.symbols | 5 emu 6 >emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexingSuppressed.ts, 0, 17)) 15 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 18 >MyEmusEnum.emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexingSuppressed.ts, 0, 17)) 20 >emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexingSuppressed.ts, 0, 17)) 28 var strRepresentation4 = MyEmusEnum["emu"]; 31 >"emu" : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexingSuppressed.ts, 0, 17)) 87 var mResult1 = m[MyEmusEnum.emu]; 90 >MyEmusEnum.emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexingSuppressed.ts, 0, 17)) 92 >emu : Symbol(MyEmusEnum.emu, Decl(noImplicitAnyIndexingSuppressed.ts, 0, 17)) [all …]
|
D | noImplicitAnyIndexingSuppressed.js | 3 emu 10 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 44 var mResult1 = m[MyEmusEnum.emu]; 45 var mResult2 = m[MyEmusEnum[MyEmusEnum.emu]]; 58 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu]; 78 var mResult1 = m[MyEmusEnum.emu]; 79 var mResult2 = m[MyEmusEnum[MyEmusEnum.emu]];
|
D | noImplicitAnyIndexing.js | 3 emu 10 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 45 var mResult1 = m[MyEmusEnum.emu]; 46 var mResult2 = m[MyEmusEnum[MyEmusEnum.emu]]; 59 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu]; 79 var mResult1 = m[MyEmusEnum.emu]; 80 var mResult2 = m[MyEmusEnum[MyEmusEnum.emu]];
|
D | noImplicitAnyIndexingSuppressed.errors.txt | 7 emu 14 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 20 var strRepresentation4 = MyEmusEnum["emu"]; 52 var mResult1 = m[MyEmusEnum.emu]; 53 var mResult2 = m[MyEmusEnum[MyEmusEnum.emu]];
|
D | noImplicitAnyIndexing.errors.txt | 9 emu 16 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 24 var strRepresentation4 = MyEmusEnum["emu"]; 59 var mResult1 = m[MyEmusEnum.emu]; 60 var mResult2 = m[MyEmusEnum[MyEmusEnum.emu]];
|
/third_party/typescript/tests/cases/compiler/ |
D | noImplicitAnyIndexingSuppressed.ts | 5 emu 12 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 46 var mResult1 = m[MyEmusEnum.emu]; 47 var mResult2 = m[MyEmusEnum[MyEmusEnum.emu]];
|
D | noImplicitAnyIndexing.ts | 4 emu 11 var strRepresentation2 = MyEmusEnum[MyEmusEnum.emu] 46 var mResult1 = m[MyEmusEnum.emu]; 47 var mResult2 = m[MyEmusEnum[MyEmusEnum.emu]];
|
/third_party/ffmpeg/libavcodec/ |
D | wmv2.c | 59 int emu = 0; in ff_mspel_motion() local 87 emu = 1; in ff_mspel_motion() 116 if (emu) { in ff_mspel_motion() 127 if (emu) { in ff_mspel_motion()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicPeriodBuilderFactory.java | 170 TimeUnit emu = effectiveMinUnit(); in createLimited() local 171 long emud = approximateDurationOf(emu); in createLimited() 172 long eml = (emu == minUnit) ? minLimit : in createLimited() 175 return Period.lessThan(eml/1000f, emu).inPast(inPast); in createLimited()
|