/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | compare3.c | 7 int tf = 1; variable 14 x > (tf?64:(tf!=x)); /* { dg-bogus "signed and unsigned" "case 1" } */ in f() 15 y > (tf?64:(tf!=x)); /* { dg-bogus "signed and unsigned" "case 2" } */ in f() 16 x > (tf?(tf!=x):64); /* { dg-bogus "signed and unsigned" "case 3" } */ in f() 17 y > (tf?(tf!=x):64); /* { dg-bogus "signed and unsigned" "case 4" } */ in f() 19 x > (tf?64:(tf==x)); /* { dg-bogus "signed and unsigned" "case 5" } */ in f() 20 y > (tf?64:(tf==x)); /* { dg-bogus "signed and unsigned" "case 6" } */ in f() 21 x > (tf?(tf==x):64); /* { dg-bogus "signed and unsigned" "case 7" } */ in f() 22 y > (tf?(tf==x):64); /* { dg-bogus "signed and unsigned" "case 8" } */ in f() 24 x > (tf?64:(tf>x)); /* { dg-bogus "signed and unsigned" "case 9" } */ in f() [all …]
|
H A D | compare2.c | 7 int tf = 1; variable 16 x > (tf?64:(tf?128:256)); /* { dg-bogus "signed and unsigned" "case 3" } */ in f() 17 y > (tf?64:(tf?128:256)); /* { dg-bogus "signed and unsigned" "case 4" } */ in f() 32 x > ({tf; tf?64:(tf?128:256);}); /* { dg-bogus "signed and unsigned" "case 11" } */ in f() 33 y > ({tf; tf?64:(tf?128:256);}); /* { dg-bogus "signed and unsigned" "case 12" } */ in f() 40 x > ({tf; tf?64:(tf?128:-1);}); /* { dg-bogus "signed and unsigned" "case 15" } */ in f() 41 y > ({tf; tf?64:(tf?128:-1);}); /* { dg-warning "signed and unsigned" "case 16" } */ in f() 52 tf ? x : (tf?64:(tf?128:256)); /* { dg-bogus "conditional expression" "case 21" } */ in f() 53 tf ? y : (tf?64:(tf?128:256)); /* { dg-bogus "conditional expression" "case 22" } */ in f() 56 tf ? x : (tf?64:(tf?128:-1)); /* { dg-bogus "conditional expression" "case 23" } */ in f() [all …]
|
/openbsd/sys/arch/hppa/hppa/ |
H A D | process_machdep.c | 45 regs->r_regs[ 1] = tf->tf_r1; in process_read_regs() 77 regs->r_sar = tf->tf_sar; in process_read_regs() 84 regs->r_sr0 = tf->tf_sr0; in process_read_regs() 85 regs->r_sr1 = tf->tf_sr1; in process_read_regs() 86 regs->r_sr2 = tf->tf_sr2; in process_read_regs() 87 regs->r_sr3 = tf->tf_sr3; in process_read_regs() 88 regs->r_sr4 = tf->tf_sr4; in process_read_regs() 89 regs->r_sr5 = tf->tf_sr5; in process_read_regs() 90 regs->r_sr6 = tf->tf_sr6; in process_read_regs() 91 regs->r_sr7 = tf->tf_sr7; in process_read_regs() [all …]
|
H A D | machdep.c | 1135 tf->tf_r3 = stack; in setstack() 1155 memset(tf, 0, sizeof *tf); in setregs() 1158 tf->tf_iioq_tail = tf->tf_iioq_head + 4; in setregs() 1159 tf->tf_iisq_head = tf->tf_iisq_tail = pcb->pcb_space; in setregs() 1167 tf->tf_sr0 = tf->tf_sr1 = tf->tf_sr2 = tf->tf_sr3 = in setregs() 1168 tf->tf_sr4 = tf->tf_sr5 = tf->tf_sr6 = pcb->pcb_space; in setregs() 1169 tf->tf_pidr1 = tf->tf_pidr2 = pmap_sid2pid(tf->tf_sr0); in setregs() 1262 if (setstack(tf, scp + sss, tf->tf_r3)) in sendsig() 1267 tf->tf_arg2 = tf->tf_r4 = scp; in sendsig() 1271 tf->tf_iioq_tail = tf->tf_iioq_head + 4; in sendsig() [all …]
|
/openbsd/sys/arch/sh/sh/ |
H A D | process_machdep.c | 151 regs->r_pr = tf->tf_pr; in process_read_regs() 157 regs->r_r9 = tf->tf_r9; in process_read_regs() 158 regs->r_r8 = tf->tf_r8; in process_read_regs() 159 regs->r_r7 = tf->tf_r7; in process_read_regs() 160 regs->r_r6 = tf->tf_r6; in process_read_regs() 161 regs->r_r5 = tf->tf_r5; in process_read_regs() 162 regs->r_r4 = tf->tf_r4; in process_read_regs() 163 regs->r_r3 = tf->tf_r3; in process_read_regs() 164 regs->r_r2 = tf->tf_r2; in process_read_regs() 165 regs->r_r1 = tf->tf_r1; in process_read_regs() [all …]
|
H A D | trap.c | 207 syscall(p, tf); in general_exception() 210 cachectl(p, tf); in general_exception() 301 va, tf->tf_spc, tf->tf_ssr, tf->tf_pr); in general_exception() 457 ast(p, tf); in tlb_exception() 463 panic_msg, tf->tf_expevt, va, tf->tf_ssr, tf->tf_spc, in tlb_exception() 525 opc = tf->tf_spc; in syscall() 528 code = tf->tf_r0; in syscall() 561 *ap++ = tf->tf_r7; in syscall() 572 rval[1] = tf->tf_r1; in syscall() 591 tf->tf_r0 = error; in syscall() [all …]
|
/openbsd/usr.bin/tail/ |
H A D | forward.c | 179 tfprint(tf[i].fp); in forward() 184 ltf = &(tf[i-1]); in forward() 259 ierr(tf->fname); in rlines() 266 ierr(tf->fname); in rlines() 274 ierr(tf->fname); in rlines() 278 while (!feof(tf[0].fp) && (ch = getc(tf[0].fp)) != EOF) in rlines() 282 ierr(tf->fname); in rlines() 318 0, tf); in tfqueue() 321 ierr(tf->fname); in tfqueue() 338 if (tf && !(tf->fp == stdin) && in tfreopen() [all …]
|
/openbsd/sys/arch/arm/arm/ |
H A D | sig_machdep.c | 82 struct trapframe *tf; in sendsig() local 85 tf = process_frame(p); in sendsig() 154 tf->tf_r0 = sig; in sendsig() 184 struct trapframe *tf; in sys_sigreturn() local 213 tf = process_frame(p); in sys_sigreturn() 214 tf->tf_r0 = ksc.sc_r0; in sys_sigreturn() 215 tf->tf_r1 = ksc.sc_r1; in sys_sigreturn() 216 tf->tf_r2 = ksc.sc_r2; in sys_sigreturn() 217 tf->tf_r3 = ksc.sc_r3; in sys_sigreturn() 218 tf->tf_r4 = ksc.sc_r4; in sys_sigreturn() [all …]
|
H A D | fault.c | 200 pcb->pcb_tf = tf; in data_abort_handler() 313 tf->tf_r0 = EINVAL; in data_abort_handler() 341 tf->tf_r0 = EFAULT; in data_abort_handler() 406 mode, tf->tf_pc); in dab_fatal() 408 tf, fsr, far, tf->tf_spsr); in dab_fatal() 412 tf->tf_r0, tf->tf_r1, tf->tf_r2, tf->tf_r3); in dab_fatal() 414 tf->tf_r4, tf->tf_r5, tf->tf_r6, tf->tf_r7); in dab_fatal() 416 tf->tf_r8, tf->tf_r9, tf->tf_r10, tf->tf_r11); in dab_fatal() 421 tf->tf_usr_sp, tf->tf_usr_lr); in dab_fatal() 424 tf->tf_svc_sp, tf->tf_svc_lr); in dab_fatal() [all …]
|
H A D | process_machdep.c | 125 KASSERT(tf != NULL); in process_read_regs() 127 regs->r_sp = tf->tf_usr_sp; in process_read_regs() 128 regs->r_lr = tf->tf_usr_lr; in process_read_regs() 129 regs->r_pc = tf->tf_pc; in process_read_regs() 130 regs->r_cpsr = tf->tf_spsr; in process_read_regs() 134 && tf->tf_spsr & PSR_I) in process_read_regs() 159 KASSERT(tf != NULL); in process_write_regs() 161 tf->tf_usr_sp = regs->r_sp; in process_write_regs() 163 tf->tf_pc = regs->r_pc; in process_write_regs() 199 KASSERT(tf != NULL); in process_set_pc() [all …]
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | process_machdep.c | 93 regs->r_r8 = tf->tf_r8; in process_read_regs() 94 regs->r_r9 = tf->tf_r9; in process_read_regs() 107 regs->r_cs = tf->tf_cs; in process_read_regs() 108 regs->r_ss = tf->tf_ss; in process_read_regs() 136 if (check_context(regs, tf)) in process_write_regs() 143 tf->tf_r8 = regs->r_r8; in process_write_regs() 144 tf->tf_r9 = regs->r_r9; in process_write_regs() 157 tf->tf_cs = regs->r_cs; in process_write_regs() 185 tf->tf_rflags |= PSL_T; in process_sstep() 187 tf->tf_rflags &= ~PSL_T; in process_sstep() [all …]
|
/openbsd/sys/arch/riscv64/riscv64/ |
H A D | process_machdep.c | 60 regs->r_ra = tf->tf_ra; in process_read_regs() 61 regs->r_sp = tf->tf_sp; in process_read_regs() 62 regs->r_gp = tf->tf_gp; in process_read_regs() 63 regs->r_tp = tf->tf_tp; in process_read_regs() 76 fpu_save(p, tf); in process_read_fpregs() 93 memcpy(&tf->tf_t[0], ®s->r_t[0], sizeof(tf->tf_t)); in process_write_regs() 94 memcpy(&tf->tf_s[0], ®s->r_s[0], sizeof(tf->tf_s)); in process_write_regs() 95 memcpy(&tf->tf_a[0], ®s->r_a[0], sizeof(tf->tf_a)); in process_write_regs() 96 tf->tf_ra = regs->r_ra; in process_write_regs() 97 tf->tf_sp = regs->r_sp; in process_write_regs() [all …]
|
H A D | sig_machdep.c | 100 struct trapframe *tf; in sendsig() local 106 tf = process_frame(p); in sendsig() 124 fpu_save(p, tf); in sendsig() 173 tf->tf_a[0] = sig; in sendsig() 177 tf->tf_sp = (register_t)fp; in sendsig() 203 struct trapframe *tf; in sys_sigreturn() local 226 tf = process_frame(p); in sys_sigreturn() 233 tf->tf_ra = ksc.sc_ra; in sys_sigreturn() 234 tf->tf_sp = ksc.sc_sp; in sys_sigreturn() 235 tf->tf_tp = ksc.sc_tp; in sys_sigreturn() [all …]
|
/openbsd/sys/arch/powerpc64/powerpc64/ |
H A D | process_machdep.c | 37 regs->r_lr = tf->lr; in process_read_regs() 38 regs->r_cr = tf->cr; in process_read_regs() 39 regs->r_xer = tf->xer; in process_read_regs() 40 regs->r_ctr = tf->ctr; in process_read_regs() 41 regs->r_pc = tf->srr0; in process_read_regs() 42 regs->r_ps = tf->srr1; in process_read_regs() 89 tf->srr1 |= PSL_SE; in process_sstep() 91 tf->srr1 &= ~PSL_SE; in process_sstep() 109 tf->lr = regs->r_lr; in process_write_regs() 110 tf->cr = regs->r_cr; in process_write_regs() [all …]
|
/openbsd/sys/dev/microcode/tigon/ |
H A D | build.c | 51 bzero(tf, len); in output() 59 tf->FwTextLen = FwTextLen; in output() 65 tf->FwDataLen = FwDataLen; in output() 68 tf->FwSbssLen = FwSbssLen; in output() 71 tf->FwBssLen = FwBssLen; in output() 73 tf->FwTextOffset = 0; in output() 77 bcopy(FwText, &tf->data[tf->FwTextOffset], FwTextLen); in output() 78 bcopy(FwRodata, &tf->data[tf->FwRodataOffset], FwRodataLen); in output() 79 bcopy(FwData, &tf->data[tf->FwDataOffset], FwDataLen); in output() 81 b = (u_int32_t *)tf; in output() [all …]
|
/openbsd/sys/arch/m88k/m88k/ |
H A D | sig_machdep.c | 106 struct trapframe *tf; in sendsig() local 112 tf = p->p_md.md_tf; in sendsig() 128 addr = local_stack_frame(tf, tf->tf_r[31], fsize); in sendsig() 160 tf->tf_r[31] = (vaddr_t)fp; in sendsig() 165 tf->tf_sfip = (tf->tf_snip + 4) | FIP_V; in sendsig() 196 struct trapframe *tf; in sys_sigreturn() local 200 tf = p->p_md.md_tf; in sys_sigreturn() 207 pc = CPU_IS88110 ? tf->tf_regs.exip : tf->tf_regs.sxip ^ XIP_V; in sys_sigreturn() 288 tf->tf_dma0 >= frame && tf->tf_dma0 < tos) { in local_stack_frame() 294 tf->tf_dma1 >= frame && tf->tf_dma1 < tos) { in local_stack_frame() [all …]
|
/openbsd/sys/arch/mips64/mips64/ |
H A D | fp_emulate.c | 205 fsr = tf->fsr; in MipsFPTrap() 349 fsr = tf->fsr; in MipsFPTrap() 403 tf->pc = MipsEmulateBranch(tf, tf->pc, fsr, in MipsFPTrap() 406 tf->pc += 4; in MipsFPTrap() 423 tf->fsr = fsr; in MipsFPTrap() 790 tf->fsr = (tf->fsr & ~FPCSR_RM_MASK) | rm; in fpu_int_l() 796 tf->fsr = (tf->fsr & ~FPCSR_RM_MASK) | oldrm; in fpu_int_l() 820 tf->fsr = (tf->fsr & ~FPCSR_RM_MASK) | rm; in fpu_int_w() 826 tf->fsr = (tf->fsr & ~FPCSR_RM_MASK) | oldrm; in fpu_int_w() 1660 tf->pc += 4; in nofpu_emulate_cop1() [all …]
|
/openbsd/sys/arch/sparc64/sparc64/ |
H A D | db_trace.c | 283 struct trapframe *tf; in db_dump_trap() local 286 tf = &ddb_regs.ddb_tf; in db_dump_trap() 292 tf = curproc->p_md.md_tf; in db_dump_trap() 296 tf = (struct trapframe *)addr; in db_dump_trap() 299 tf, (unsigned long long)tf->tf_tstate, in db_dump_trap() 300 (unsigned long long)tf->tf_pc, in db_dump_trap() 301 (unsigned long long)tf->tf_npc); in db_dump_trap() 303 (int)tf->tf_y, (int)tf->tf_pil, (int)tf->tf_oldpil, in db_dump_trap() 304 (int)tf->tf_tt); in db_dump_trap() 336 (unsigned long long)tf->tf_in[0], in db_dump_trap() [all …]
|
H A D | trap.c | 330 #define ADVANCE (n = tf->tf_npc, tf->tf_pc = n, tf->tf_npc = n + 4) in trap() 544 tf->tf_npc = tf->tf_pc + 4; in trap() 626 share_fpu(p, tf); in trap() 795 share_fpu(p, tf); in data_access_fault() 827 pc = tf->tf_pc; in data_access_error() 866 share_fpu(p, tf); in data_access_error() 918 share_fpu(p, tf); in text_access_fault() 991 share_fpu(p, tf); in text_access_error() 1062 tf->tf_pc = dest; in syscall() 1082 share_fpu(p, tf); in syscall() [all …]
|
/openbsd/sys/arch/i386/i386/ |
H A D | process_machdep.c | 148 regs->r_edi = tf->tf_edi; in process_read_regs() 149 regs->r_esi = tf->tf_esi; in process_read_regs() 150 regs->r_ebp = tf->tf_ebp; in process_read_regs() 151 regs->r_ebx = tf->tf_ebx; in process_read_regs() 152 regs->r_edx = tf->tf_edx; in process_read_regs() 153 regs->r_ecx = tf->tf_ecx; in process_read_regs() 154 regs->r_eax = tf->tf_eax; in process_read_regs() 155 regs->r_eip = tf->tf_eip; in process_read_regs() 157 regs->r_esp = tf->tf_esp; in process_read_regs() 344 tf->tf_eflags |= PSL_T; in process_sstep() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Analysis/models/ |
H A D | gen-regalloc-priority-test-model.py | 9 import tensorflow as tf namespace 39 (key, tf.TensorSpec(dtype=tf.int64, shape=(), name=key)) 43 tf.TensorSpec(dtype=tf.float32, shape=(), name=key)) 46 dict((key, tf.TensorSpec(dtype=tf.float32, shape=(), name=key)) 49 dict((key, tf.TensorSpec(dtype=tf.int32, shape=(), name=key)) 60 module = tf.Module() 63 module.var = tf.Variable(0, dtype=tf.float32) 66 s1 = tf.reduce_sum([ 67 tf.cast(inputs[0][key], tf.float32) for key in PER_LIVEINTERVAL_FEATURE_LIST 70 s2 = tf.reduce_sum( [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | tree-eh.c | 474 replace_goto_queue_stmt_list (*tf->top_p, tf); in replace_goto_queue() 484 struct leh_tf_state *tf = state->tf; in maybe_record_in_goto_queue() local 489 if (!tf) in maybe_record_in_goto_queue() 561 struct leh_tf_state *tf = state->tf; in verify_norecord_switch_expr() local 565 if (!tf) in verify_norecord_switch_expr() 760 if (tf->outer->tf) in lower_try_finally_fallthru_label() 921 *tf->top_p = TREE_OPERAND (*tf->top_p, 0); in lower_try_finally_nofallthru() 952 *tf->top_p = TREE_OPERAND (*tf->top_p, 0); in lower_try_finally_onedest() 1030 *tf->top_p = TREE_OPERAND (*tf->top_p, 0); in lower_try_finally_copy() 1152 *tf->top_p = TREE_OPERAND (*tf->top_p, 0); in lower_try_finally_switch() [all …]
|
/openbsd/sys/arch/arm64/arm64/ |
H A D | process_machdep.c | 61 regs->r_lr = tf->tf_lr; in process_read_regs() 62 regs->r_sp = tf->tf_sp; in process_read_regs() 63 regs->r_pc = tf->tf_elr; in process_read_regs() 64 regs->r_spsr = tf->tf_spsr; in process_read_regs() 91 memcpy(&tf->tf_x[0], ®s->r_reg[0], sizeof(tf->tf_x)); in process_write_regs() 92 tf->tf_lr = regs->r_lr; in process_write_regs() 93 tf->tf_sp = regs->r_sp; in process_write_regs() 94 tf->tf_elr = regs->r_pc; in process_write_regs() 95 tf->tf_spsr = (0xff0f0000 & regs->r_spsr) | (tf->tf_spsr & 0x0020ffff); in process_write_regs() 120 tf->tf_spsr |= PSR_SS; in process_sstep() [all …]
|
H A D | sig_machdep.c | 102 struct trapframe *tf; in sendsig() local 107 tf = process_frame(p); in sendsig() 153 tf->tf_x[0] = sig; in sendsig() 157 tf->tf_sp = (register_t)fp; in sendsig() 160 tf->tf_spsr &= ~PSR_BTYPE; in sendsig() 183 struct trapframe *tf; in sys_sigreturn() local 215 tf = process_frame(p); in sys_sigreturn() 218 tf->tf_sp = ksc.sc_sp; in sys_sigreturn() 219 tf->tf_lr = ksc.sc_lr; in sys_sigreturn() 220 tf->tf_elr = ksc.sc_elr; in sys_sigreturn() [all …]
|
/openbsd/sys/arch/powerpc/powerpc/ |
H A D | process_machdep.c | 63 regs->pc = tf->srr0; in process_read_regs() 65 regs->cnd = tf->cr; in process_read_regs() 66 regs->lr = tf->lr; in process_read_regs() 67 regs->cnt = tf->ctr; in process_read_regs() 68 regs->xer = tf->xer; in process_read_regs() 114 tf->srr1 |= PSL_SE; in process_sstep() 116 tf->srr1 &= ~PSL_SE; in process_sstep() 144 tf->srr0 = regs->pc; in process_write_regs() 146 tf->cr = regs->cnd; in process_write_regs() 147 tf->lr = regs->lr; in process_write_regs() [all …]
|