/dports/devel/z88dk/z88dk/src/ticks/ |
H A D | ticks.h | 43 #define is8080() ( (c_cpu & CPU_8080) ) 44 #define is8085() ( (c_cpu & CPU_8085) ) 45 #define is808x() ( (c_cpu & (CPU_8080|CPU_8085)) ) 47 #define isr800() ( (c_cpu & CPU_R800) == CPU_R800 ) 48 #define israbbit() ( c_cpu & (CPU_R2K|CPU_R3K)) 49 #define israbbit3k() ( c_cpu & (CPU_R3K)) 50 #define isz180() ( c_cpu & (CPU_Z180)) 51 #define isez80() ( c_cpu & (CPU_EZ80)) 55 #define cansll() ( c_cpu & (CPU_Z80|CPU_Z80N)) 56 #define canz180() ( c_cpu & (CPU_Z180|CPU_EZ80)) [all …]
|
H A D | disassembler_main.c | 13 int c_cpu = CPU_Z80; variable 82 c_cpu = CPU_Z80; in main() 84 c_cpu = CPU_Z80N; in main() 86 c_cpu = CPU_Z180; in main() 88 c_cpu = CPU_R2K; in main() 90 c_cpu = CPU_R3K; in main() 92 c_cpu = CPU_R800; in main() 94 c_cpu = CPU_GBZ80; in main() 96 c_cpu = CPU_8080; in main() 98 c_cpu = CPU_8085; in main() [all …]
|
H A D | disassembler_alg.c | 218 …return c_cpu & CPU_R2K ? r2k_table[y] : c_cpu & CPU_R3K ? r3k_table[y] : c_cpu & (CPU_Z180|CPU_EZ8… in handle_ed_assorted_instructions() 229 …return c_cpu & CPU_R2K ? r2k_table[y] : c_cpu & CPU_R3K ? r3k_table[y] : c_cpu & CPU_Z180 ? z180_t… in handle_im_instructions() 510 } else if ( c_cpu & CPU_Z80N ) { in disassemble2() 576 … else if ( israbbit() && y == 6 ) BUF_PRINTF("%-8s", c_cpu == CPU_R3K ? "syscall" : "nop"); in disassemble2() 577 … else if ( israbbit() && y == 7 ) BUF_PRINTF("%-8s", c_cpu == CPU_R3K ? "sures" : "nop"); in disassemble2() 612 } else if ( c_cpu & CPU_Z80N ) { in disassemble2()
|
H A D | ticks.c | 577 int c_cpu = CPU_Z80; variable 761 c_cpu = CPU_Z80; in main() 763 c_cpu = CPU_8080; in main() 765 c_cpu = CPU_8085; in main() 767 c_cpu = CPU_Z180; in main() 769 c_cpu = CPU_Z80N; in main() 772 c_cpu = CPU_R2K; in main() 774 c_cpu = CPU_R2K; in main() 776 c_cpu = CPU_EZ80; in main() 3741 if ( c_cpu == CPU_Z80N ) { in main() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/ |
H A D | kern_timeout.c | 198 cc = c->c_cpu; in callout_lock() 292 c->c_cpu = cc; in callout_init() 296 c->c_cpu = &callout_cpu0; in callout_init() 317 KASSERT(c->c_cpu->cc_lwp == curlwp || c->c_cpu->cc_active != c); in callout_destroy() 341 occ = c->c_cpu; in callout_schedule_locked() 370 c->c_cpu = cc; in callout_schedule_locked() 442 cc = c->c_cpu; in callout_stop() 489 cc = c->c_cpu; in callout_halt() 548 if (c->c_cpu != cc) { in callout_bind() 556 c->c_cpu = cc; in callout_bind() [all …]
|
/dports/devel/z88dk/z88dk/src/sccz80/ |
H A D | define.h | 367 #define IS_8080() (c_cpu == CPU_8080 ) 368 #define IS_8085() (c_cpu == CPU_8085 ) 369 #define IS_808x() (c_cpu == CPU_8080 || c_cpu == CPU_8085) 370 #define IS_GBZ80() (c_cpu == CPU_GBZ80) 371 #define IS_Z80N() (c_cpu == CPU_Z80N)
|
H A D | main.c | 41 int c_cpu = CPU_Z80; variable 89 { 0, "m8080", OPT_ASSIGN|OPT_INT, "Generate output for the i8080", &c_cpu, NULL, CPU_8080 }, 90 { 0, "m8085", OPT_ASSIGN|OPT_INT, "Generate output for the i8085", &c_cpu, NULL, CPU_8085 }, 91 { 0, "mz80", OPT_ASSIGN|OPT_INT, "Generate output for the z80", &c_cpu, NULL, CPU_Z80 }, 92 { 0, "mz80n", OPT_ASSIGN|OPT_INT, "Generate output for the z80n", &c_cpu, NULL, CPU_Z80N }, 93 { 0, "mz180", OPT_ASSIGN|OPT_INT, "Generate output for the z180", &c_cpu, NULL, CPU_Z180 }, 94 { 0, "mr2k", OPT_ASSIGN|OPT_INT, "Generate output for the Rabbit 2000", &c_cpu, NULL, CPU_R2K }, 95 { 0, "mr3k", OPT_ASSIGN|OPT_INT, "Generate output for the Rabbit 3000", &c_cpu, NULL, CPU_R3K }, 96 …{ 0, "mgbz80", OPT_ASSIGN|OPT_INT, "Generate output for the Gameboy Z80", &c_cpu, NULL, CPU_GBZ80 … 275 if ( c_cpu == CPU_8080 ) { in main() [all …]
|
H A D | codegen.c | 2223 if (c_cpu == CPU_Z180 ) { in mult() 4756 if ( c_cpu == CPU_Z80N ) { in addbchl() 5072 if ( c_cpu & CPU_RABBIT ) { in gen_intrinsic_in() 5075 if ( c_cpu == CPU_R2K ) { in gen_intrinsic_in() 5086 if ( c_cpu == CPU_Z180 ) { in gen_intrinsic_in() 5103 if ( c_cpu & CPU_RABBIT ) { in gen_intrinsic_out() 5107 if ( c_cpu == CPU_R2K ) { in gen_intrinsic_out() 5117 if ( c_cpu == CPU_Z180 ) { in gen_intrinsic_out() 5192 if ( c_cpu & CPU_RABBIT ) { in gen_critical_enter() 5202 if ( c_cpu & CPU_RABBIT ) { in gen_critical_leave() [all …]
|
H A D | ccdefs.h | 264 extern int c_cpu;
|
/dports/devel/py-pyopencl/pyopencl-2018.2/pyopencl/compyte/ndarray/ |
H A D | test_gpu_elemwise.py | 147 c_cpu = rand(shape, dtype='float32') 148 c = gpu_ndarray.GpuNdArrayObject(c_cpu)[::2] 165 c_cpu = rand(shape, dtype='float32') 166 c = gpu_ndarray.GpuNdArrayObject(c_cpu)[::, ::2] 184 c_cpu = rand(shape, dtype='float32') 185 c = gpu_ndarray.GpuNdArrayObject(c_cpu)[::, ::, ::2] 203 c_cpu = rand(shape, dtype='float32') 204 c = gpu_ndarray.GpuNdArrayObject(c_cpu)[::, ::,
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/ |
H A D | gdbstub.c | 885 CPUState *cpu = s->c_cpu; in gdb_set_cpu_pc() 1026 cpu_gdb_index(s->c_cpu)); in gdb_handle_packet() 1085 cpu_single_step(s->c_cpu, sstep_flags); in gdb_handle_packet() 1236 s->c_cpu = cpu; in gdb_handle_packet() 1317 TaskState *ts = s->c_cpu->opaque; in gdb_handle_packet() 1415 gdbserver_state->c_cpu = cpu; in gdb_set_stop_cpu() 1423 CPUState *cpu = s->c_cpu; in gdb_vm_state_change() 1567 gdb_handlesig(s->c_cpu, 0); in gdb_do_syscallv() 1575 qemu_cpu_kick(s->c_cpu); in gdb_do_syscallv() 1850 s->c_cpu = first_cpu; in gdb_accept() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/ |
H A D | gdbstub.c | 1135 CPUState *cpu = gdbserver_state.c_cpu; in gdb_set_cpu_pc() 1548 if (!gdbserver_state.c_cpu) { in handle_detach() 1641 gdbserver_state.c_cpu = cpu; in handle_set_thread() 1961 gdbserver_state.c_cpu = cpu; in handle_v_attach() 2118 ts = gdbserver_state.c_cpu->opaque; in handle_query_offsets() 2171 if (gdbserver_state.c_cpu->opaque) { in handle_query_supported() 2250 ts = gdbserver_state.c_cpu->opaque; in handle_query_xfer_auxv() 2746 gdbserver_state.c_cpu = cpu; in gdb_set_stop_cpu() 2753 CPUState *cpu = gdbserver_state.c_cpu; in gdb_vm_state_change() 2913 qemu_cpu_kick(gdbserver_state.c_cpu); in gdb_do_syscallv() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/ |
H A D | gdbstub.c | 1127 CPUState *cpu = gdbserver_state.c_cpu; in gdb_set_cpu_pc() 1558 if (!gdbserver_state.c_cpu) { in handle_detach() 1651 gdbserver_state.c_cpu = cpu; in handle_set_thread() 1967 gdbserver_state.c_cpu = cpu; in handle_v_attach() 2124 ts = gdbserver_state.c_cpu->opaque; in handle_query_offsets() 2177 if (gdbserver_state.c_cpu->opaque) { in handle_query_supported() 2256 ts = gdbserver_state.c_cpu->opaque; in handle_query_xfer_auxv() 2752 gdbserver_state.c_cpu = cpu; in gdb_set_stop_cpu() 2759 CPUState *cpu = gdbserver_state.c_cpu; in gdb_vm_state_change() 2919 qemu_cpu_kick(gdbserver_state.c_cpu); in gdb_do_syscallv() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/ |
H A D | gdbstub.c | 1135 CPUState *cpu = gdbserver_state.c_cpu; in gdb_set_cpu_pc() 1548 if (!gdbserver_state.c_cpu) { in handle_detach() 1641 gdbserver_state.c_cpu = cpu; in handle_set_thread() 1961 gdbserver_state.c_cpu = cpu; in handle_v_attach() 2118 ts = gdbserver_state.c_cpu->opaque; in handle_query_offsets() 2171 if (gdbserver_state.c_cpu->opaque) { in handle_query_supported() 2250 ts = gdbserver_state.c_cpu->opaque; in handle_query_xfer_auxv() 2746 gdbserver_state.c_cpu = cpu; in gdb_set_stop_cpu() 2753 CPUState *cpu = gdbserver_state.c_cpu; in gdb_vm_state_change() 2913 qemu_cpu_kick(gdbserver_state.c_cpu); in gdb_do_syscallv() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/ |
H A D | gdbstub.c | 1113 CPUState *cpu = gdbserver_state.c_cpu; in gdb_set_cpu_pc() 1544 if (!gdbserver_state.c_cpu) { in handle_detach() 1637 gdbserver_state.c_cpu = cpu; in handle_set_thread() 1925 gdbserver_state.c_cpu = cpu; in handle_v_attach() 2081 ts = gdbserver_state.c_cpu->opaque; in handle_query_offsets() 2638 gdbserver_state.c_cpu = cpu; in gdb_set_stop_cpu() 2645 CPUState *cpu = gdbserver_state.c_cpu; in gdb_vm_state_change() 2797 gdb_handlesig(gdbserver_state.c_cpu, 0); in gdb_do_syscallv() 2805 qemu_cpu_kick(gdbserver_state.c_cpu); in gdb_do_syscallv() 3199 s->c_cpu = gdb_first_attached_cpu(); in gdb_chr_event() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/ |
H A D | gdbstub.c | 1113 CPUState *cpu = gdbserver_state.c_cpu; 1544 if (!gdbserver_state.c_cpu) { 1637 gdbserver_state.c_cpu = cpu; 1925 gdbserver_state.c_cpu = cpu; 2081 ts = gdbserver_state.c_cpu->opaque; 2631 gdbserver_state.c_cpu = cpu; 2638 CPUState *cpu = gdbserver_state.c_cpu; 2790 gdb_handlesig(gdbserver_state.c_cpu, 0); 2798 qemu_cpu_kick(gdbserver_state.c_cpu); 3192 s->c_cpu = gdb_first_attached_cpu(); [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/ |
H A D | gdbstub.c | 1088 CPUState *cpu = s->c_cpu; in gdb_set_cpu_pc() 1525 if (!s->c_cpu) { in handle_detach() 1618 gdb_ctx->s->c_cpu = cpu; in handle_set_thread() 1898 gdb_ctx->s->c_cpu = cpu; in handle_v_attach() 2063 ts = gdb_ctx->s->c_cpu->opaque; in handle_query_offsets() 2614 gdbserver_state->c_cpu = cpu; in gdb_set_stop_cpu() 2622 CPUState *cpu = s->c_cpu; in gdb_vm_state_change() 2775 gdb_handlesig(s->c_cpu, 0); in gdb_do_syscallv() 2783 qemu_cpu_kick(s->c_cpu); in gdb_do_syscallv() 3090 s->g_cpu = s->c_cpu; in gdb_accept() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/ |
H A D | gdbstub.c | 1127 CPUState *cpu = gdbserver_state.c_cpu; in gdb_set_cpu_pc() 1558 if (!gdbserver_state.c_cpu) { in handle_detach() 1651 gdbserver_state.c_cpu = cpu; in handle_set_thread() 1967 gdbserver_state.c_cpu = cpu; in handle_v_attach() 2123 ts = gdbserver_state.c_cpu->opaque; in handle_query_offsets() 2689 gdbserver_state.c_cpu = cpu; in gdb_set_stop_cpu() 2696 CPUState *cpu = gdbserver_state.c_cpu; in gdb_vm_state_change() 2848 gdb_handlesig(gdbserver_state.c_cpu, 0); in gdb_do_syscallv() 2856 qemu_cpu_kick(gdbserver_state.c_cpu); in gdb_do_syscallv() 3320 s->c_cpu = gdb_first_attached_cpu(); in gdb_chr_event() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/ |
H A D | gdbstub.c | 1088 CPUState *cpu = s->c_cpu; in gdb_set_cpu_pc() 1525 if (!s->c_cpu) { in handle_detach() 1618 gdb_ctx->s->c_cpu = cpu; in handle_set_thread() 1898 gdb_ctx->s->c_cpu = cpu; in handle_v_attach() 2063 ts = gdb_ctx->s->c_cpu->opaque; in handle_query_offsets() 2614 gdbserver_state->c_cpu = cpu; in gdb_set_stop_cpu() 2622 CPUState *cpu = s->c_cpu; in gdb_vm_state_change() 2775 gdb_handlesig(s->c_cpu, 0); in gdb_do_syscallv() 2783 qemu_cpu_kick(s->c_cpu); in gdb_do_syscallv() 3090 s->g_cpu = s->c_cpu; in gdb_accept() [all …]
|
/dports/misc/darknet/darknet-darknet_yolo_v4_pre/src/ |
H A D | conv_lstm_layer.c | 290 l->c_cpu = (float*)xrealloc(l->c_cpu, batch*outputs * sizeof(float)); in resize_conv_lstm_layer() 370 for (i = 0; i < l.outputs * l.batch; ++i) l.c_cpu[i] = 0; in free_state_conv_lstm() 374 cuda_push_array(l.c_gpu, l.c_cpu, l.outputs * l.batch); in free_state_conv_lstm() 389 cuda_push_array(l.c_gpu, l.c_cpu, l.outputs * l.batch); in randomize_state_conv_lstm() 461 s.input = l.c_cpu; in forward_conv_lstm_layer() 506 mul_cpu(l.outputs*l.batch, l.f_cpu, 1, l.c_cpu, 1); in forward_conv_lstm_layer() 511 s.input = l.c_cpu; in forward_conv_lstm_layer() 520 copy_cpu(l.outputs*l.batch, l.c_cpu, 1, l.h_cpu, 1); in forward_conv_lstm_layer() 525 fix_nan_and_inf_cpu(l.c_cpu, l.outputs*l.batch); in forward_conv_lstm_layer() 528 copy_cpu(l.outputs*l.batch, l.c_cpu, 1, l.cell_cpu, 1); in forward_conv_lstm_layer() [all …]
|
H A D | lstm_layer.c | 108 l.c_cpu = (float*)xcalloc(batch*outputs, sizeof(float)); in make_lstm_layer() 233 mul_cpu(l.outputs*l.batch, l.f_cpu, 1, l.c_cpu, 1); in forward_lstm_layer() 234 axpy_cpu(l.outputs*l.batch, 1, l.temp_cpu, 1, l.c_cpu, 1); in forward_lstm_layer() 236 copy_cpu(l.outputs*l.batch, l.c_cpu, 1, l.h_cpu, 1); in forward_lstm_layer() 240 copy_cpu(l.outputs*l.batch, l.c_cpu, 1, l.cell_cpu, 1); in forward_lstm_layer() 294 copy_cpu(l.outputs*l.batch, l.cell_cpu, 1, l.c_cpu, 1); in backward_lstm_layer() 319 copy_cpu(l.outputs*l.batch, l.c_cpu, 1, l.temp_cpu, 1); in backward_lstm_layer() 328 copy_cpu(l.outputs*l.batch, l.c_cpu, 1, l.temp_cpu, 1); in backward_lstm_layer()
|
H A D | layer.c | 129 if (l.c_cpu) free(l.c_cpu); in free_layer_custom()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/sys/ |
H A D | callout.h | 95 struct callout_cpu * volatile c_cpu; /* associated CPU */ member
|
/dports/devel/z88dk/z88dk/src/copt/ |
H A D | copt.c | 33 char *c_cpu = "z80"; variable 512 if ( strcmp(tbuf, c_cpu) == 0 ) in opt() 517 if ( strcmp(tbuf, c_cpu) ) in opt() 630 c_cpu = argv[i] + 2; in main()
|
/dports/devel/z88dk/z88dk/src/zcc/ |
H A D | zcc.c | 250 static int c_cpu = 0; variable 420 … { 0, "m8080", OPT_ASSIGN|OPT_INT, "Generate output for the i8080", &c_cpu, NULL, CPU_TYPE_8080 }, 421 … { 0, "m8085", OPT_ASSIGN|OPT_INT, "Generate output for the i8085", &c_cpu, NULL, CPU_TYPE_8085 }, 422 { 0, "mz80", OPT_ASSIGN|OPT_INT, "Generate output for the z80", &c_cpu, NULL, CPU_TYPE_Z80 }, 423 { 0, "mz80n", OPT_ASSIGN|OPT_INT, "Generate output for the z80n", &c_cpu, NULL, CPU_TYPE_Z80N }, 424 { 0, "mz180", OPT_ASSIGN|OPT_INT, "Generate output for the z180", &c_cpu, NULL, CPU_TYPE_Z180 }, 425 …{ 0, "mr2k", OPT_ASSIGN|OPT_INT, "Generate output for the Rabbit 2000", &c_cpu, NULL, CPU_TYPE_R2K… 426 …{ 0, "mr3k", OPT_ASSIGN|OPT_INT, "Generate output for the Rabbit 3000", &c_cpu, NULL, CPU_TYPE_R3K… 427 …{ 0, "mgbz80", OPT_ASSIGN|OPT_INT, "Generate output for the Gameboy Z80", &c_cpu, NULL, CPU_TYPE_G… 531 return cpu_map[c_cpu].tool[n]; in select_cpu() [all …]
|