/openbmc/linux/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 112 emit(A64_MOVK(is64, reg, lo, 0), ctx); in emit_a64_mov_i() 115 emit(A64_MOVZ(is64, reg, lo, 0), ctx); in emit_a64_mov_i() 117 emit(A64_MOVK(is64, reg, hi, 16), ctx); in emit_a64_mov_i() 791 emit(A64_MOV(is64, dst, src), ctx); in build_insn() 859 emit(A64_NEG(is64, dst, dst), ctx); in build_insn() 905 emit_a64_mov_i(is64, dst, imm, ctx); in build_insn() 962 emit_a64_mov_i(is64, tmp, imm, ctx); in build_insn() 967 emit_a64_mov_i(is64, tmp, imm, ctx); in build_insn() 1026 emit(A64_CMP(is64, dst, src), ctx); in build_insn() 1069 emit(A64_TST(is64, dst, src), ctx); in build_insn() [all …]
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 521 if (!is64) in emit_atomic() 527 if (!is64) in emit_atomic() 533 if (!is64) in emit_atomic() 539 if (!is64) in emit_atomic() 546 if (!is64) in emit_atomic() 1117 if (is64) in bpf_jit_emit_insn() 1365 if (is64) in bpf_jit_emit_insn() 1375 if (is64) in bpf_jit_emit_insn() 1420 if (!is64) { in bpf_jit_emit_insn() 1473 if (!is64) { in bpf_jit_emit_insn() [all …]
|
H A D | bpf_jit_comp32.c | 957 bool is64 = BPF_CLASS(insn->code) == BPF_ALU64 || in bpf_jit_emit_insn() local 1218 if (is64) in bpf_jit_emit_insn()
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 615 if (!is64 && !aux->verifier_zext) in bpf_jit_emit_insn() 625 if (!is64 && !aux->verifier_zext) in bpf_jit_emit_insn() 631 if (!is64 && !aux->verifier_zext) in bpf_jit_emit_insn() 690 if (is64) in bpf_jit_emit_insn() 700 if (is64) in bpf_jit_emit_insn() 711 if (is64) in bpf_jit_emit_insn() 834 if (is64) in bpf_jit_emit_insn() 846 if (is64) in bpf_jit_emit_insn() 888 if (!is64) { in bpf_jit_emit_insn() 939 if (!is64) { in bpf_jit_emit_insn() [all …]
|
H A D | bpf_jit_comp32.c | 1119 bool is64 = BPF_CLASS(insn->code) == BPF_ALU64 || in bpf_jit_emit_insn() local 1386 if (is64) in bpf_jit_emit_insn()
|
/openbmc/qemu/linux-user/i386/ |
H A D | cpu_loop.c | 66 static void set_idt(int n, unsigned int dpl, bool is64) in set_idt() argument 83 static void set_idt(int n, unsigned int dpl, bool is64) in set_idt() argument 85 if (is64) { in set_idt() 334 bool is64 = (env->features[FEAT_8000_0001_EDX] & CPUID_EXT2_LM) != 0; in target_cpu_copy_regs() local 346 if (is64) { in target_cpu_copy_regs() 395 set_idt(i, 0, is64); in target_cpu_copy_regs() 397 set_idt(3, 3, is64); in target_cpu_copy_regs() 398 set_idt(4, 3, is64); in target_cpu_copy_regs() 399 set_idt(0x80, 3, is64); in target_cpu_copy_regs()
|
/openbmc/linux/arch/x86/events/ |
H A D | utils.c | 96 int is64 = 0; in get_branch_type() local 158 is64 = kernel_ip((unsigned long)addr) || any_64bit_mode(current_pt_regs()); in get_branch_type() 160 insn_init(&insn, addr, bytes_read, is64); in get_branch_type() 175 insn_init(&insn, addr + insn_offset, bytes_read, is64); in get_branch_type()
|
/openbmc/u-boot/tools/ |
H A D | prelink-riscv.c | 93 bool is64 = e_ident[EI_CLASS] == ELFCLASS64; in main() local 95 if (is64) in main()
|
/openbmc/linux/drivers/dma/ |
H A D | fsl-edma-common.c | 856 bool is64 = !!(edma->drvdata->flags & FSL_EDMA_DRV_EDMA64); in fsl_edma_setup_regs() local 863 edma->regs.serq = edma->membase + (is64 ? EDMA64_SERQ : EDMA_SERQ); in fsl_edma_setup_regs() 864 edma->regs.cerq = edma->membase + (is64 ? EDMA64_CERQ : EDMA_CERQ); in fsl_edma_setup_regs() 865 edma->regs.seei = edma->membase + (is64 ? EDMA64_SEEI : EDMA_SEEI); in fsl_edma_setup_regs() 866 edma->regs.ceei = edma->membase + (is64 ? EDMA64_CEEI : EDMA_CEEI); in fsl_edma_setup_regs() 867 edma->regs.cint = edma->membase + (is64 ? EDMA64_CINT : EDMA_CINT); in fsl_edma_setup_regs() 868 edma->regs.cerr = edma->membase + (is64 ? EDMA64_CERR : EDMA_CERR); in fsl_edma_setup_regs() 869 edma->regs.ssrt = edma->membase + (is64 ? EDMA64_SSRT : EDMA_SSRT); in fsl_edma_setup_regs() 870 edma->regs.cdne = edma->membase + (is64 ? EDMA64_CDNE : EDMA_CDNE); in fsl_edma_setup_regs() 872 edma->regs.errl = edma->membase + (is64 ? EDMA64_ERRL : EDMA_ERR); in fsl_edma_setup_regs() [all …]
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp32.c | 261 if (is64) in emit_ia32_mov_r64() 275 if (is64 && (val & (1<<31))) in emit_ia32_mov_i64() 543 if (hi && is64) in emit_ia32_alu_r() 550 if (hi && is64) in emit_ia32_alu_r() 585 if (is64) in emit_ia32_alu_r64() 617 if (hi && is64) { in emit_ia32_alu_i() 631 if (hi && is64) { in emit_ia32_alu_i() 685 if (is64 && (val & (1<<31))) in emit_ia32_alu_i64() 689 if (is64) in emit_ia32_alu_i64() 1705 emit_ia32_mov_i64(is64, dst, imm32, in do_jit() [all …]
|
H A D | bpf_jit_comp.c | 741 if (is64) { in emit_mov_reg() 759 if (is64) { in emit_movsx_reg() 813 if (is64) in maybe_emit_mod() 827 if (is64) in maybe_emit_1mod() 1227 bool is64 = BPF_CLASS(insn->code) == BPF_ALU64; in do_jit() local 1249 emit_mov_reg(&prog, is64, BPF_REG_0, dst_reg); in do_jit() 1259 maybe_emit_1mod(&prog, src_reg, is64); in do_jit() 1268 maybe_emit_1mod(&prog, src_reg, is64); in do_jit() 1275 emit_mov_reg(&prog, is64, dst_reg, BPF_REG_3); in do_jit() 1279 emit_mov_reg(&prog, is64, dst_reg, BPF_REG_0); in do_jit() [all …]
|
/openbmc/linux/arch/arm/net/ |
H A D | bpf_jit_32.c | 634 if (is64 && (val & (1<<31))) in emit_a32_mov_se_i64() 640 const bool is64, const bool hi, in emit_a32_add_r() argument 648 if (!hi && is64) in emit_a32_add_r() 650 else if (hi && is64) in emit_a32_add_r() 657 const bool is64, const bool hi, in emit_a32_sub_r() argument 665 if (!hi && is64) in emit_a32_sub_r() 667 else if (hi && is64) in emit_a32_sub_r() 678 emit_a32_add_r(dst, src, is64, hi, ctx); in emit_alu_r() 682 emit_a32_sub_r(dst, src, is64, hi, ctx); in emit_alu_r() 724 if (is64) { in emit_a32_alu_r64() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-io.c | 257 bool is64; member 308 addr += q * (rfh_mq_tbl[i].is64 ? 8 : 4); in iwl_dump_rfh() 329 addr += q * (rfh_mq_tbl[i].is64 ? 8 : 4); in iwl_dump_rfh()
|
/openbmc/qemu/include/hw/ |
H A D | loader.h | 202 void load_elf_hdr(const char *filename, void *hdr, bool *is64, Error **errp);
|
/openbmc/qemu/tcg/ |
H A D | tcg-op-ldst.c | 46 static MemOp tcg_canonicalize_memop(MemOp op, bool is64, bool st) in tcg_canonicalize_memop() argument 64 if (!is64) { in tcg_canonicalize_memop() 69 if (is64) { in tcg_canonicalize_memop()
|
/openbmc/qemu/hw/i386/ |
H A D | x86-common.c | 540 static uint64_t read_pvh_start_addr(void *arg1, void *arg2, bool is64) in read_pvh_start_addr() argument 549 if (is64) { in read_pvh_start_addr()
|
/openbmc/qemu/target/arm/ |
H A D | cpregs.h | 171 #define ENCODE_CP_REG(cp, is64, ns, crn, crm, opc1, opc2) \ argument 172 ((ns) << CP_REG_NS_SHIFT | ((cp) << 16) | ((is64) << 15) | \
|
H A D | helper.c | 10015 bool is64 = r->type & ARM_CP_64BIT; in add_cpreg_to_hashtable() local 10027 key = ENCODE_CP_REG(cp, is64, ns, r->crn, crm, opc1, opc2); in add_cpreg_to_hashtable() 10776 bool is64 = arm_feature(env, ARM_FEATURE_AARCH64); in arm_phys_excp_target_el() local 10787 rw = is64; in arm_phys_excp_target_el() 10814 target_el = target_el_table[is64][scr][rw][hcr][secure][cur_el]; in arm_phys_excp_target_el()
|
/openbmc/qemu/hw/core/ |
H A D | loader.c | 352 void load_elf_hdr(const char *filename, void *hdr, bool *is64, Error **errp) in load_elf_hdr() argument 384 if (is64) { in load_elf_hdr() 385 *is64 = is64l; in load_elf_hdr()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 3018 mem_xadd(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, bool is64) in mem_xadd() argument 3044 out += 2 + is64; in mem_xadd() 3083 FIELD_PREP(CMD_OV_LEN, 0x8 | is64 << 2)); in mem_xadd() 3098 addra, addrb, is64 << 2, in mem_xadd() 3099 is64 ? CMD_CTX_SWAP_DEFER2 : CMD_CTX_SWAP_DEFER1); in mem_xadd() 3102 if (is64) in mem_xadd()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate.c | 2932 static void do_coproc_insn(DisasContext *s, int cpnum, int is64, in do_coproc_insn() argument 2936 uint32_t key = ENCODE_CP_REG(cpnum, is64, s->ns, crn, crm, opc1, opc2); in do_coproc_insn() 2953 if (is64) { in do_coproc_insn() 2962 if (is64) { in do_coproc_insn() 2991 uint32_t maskbit = is64 ? crm : crn; in do_coproc_insn() 3037 if (is64) { in do_coproc_insn() 3110 if (is64) { in do_coproc_insn() 3160 if (is64) { in do_coproc_insn()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | pm2fb.c | 232 static u32 to3264(u32 timing, int bpp, int is64) in to3264() argument 247 if (is64) in to3264()
|
/openbmc/qemu/target/hexagon/idef-parser/ |
H A D | parser-helpers.c | 2078 bool is64 = (arg->bit_width == 64); in emit_arg() local 2079 const char *type = is64 ? "TCGv_i64" : "TCGv_i32"; in emit_arg()
|
/openbmc/linux/kernel/bpf/ |
H A D | verifier.c | 18902 bool is64 = BPF_CLASS(insn->code) == BPF_ALU64; in do_misc_fixups() local 18907 BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | in do_misc_fixups() 18916 BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | in do_misc_fixups() 18918 0, 1 + (is64 ? 0 : 1), 0), in do_misc_fixups() 18926 ARRAY_SIZE(chk_and_mod) - (is64 ? 2 : 0); in do_misc_fixups()
|