Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 125) sorted by relevance

12345

/arch/powerpc/lib/
Dcode-patching.c414 #define check(x) \ macro
426 check(instr_is_branch_iform(ppc_inst(0x48000000))); in test_branch_iform()
428 check(instr_is_branch_iform(ppc_inst(0x4bffffff))); in test_branch_iform()
430 check(!instr_is_branch_iform(ppc_inst(0xcbffffff))); in test_branch_iform()
432 check(!instr_is_branch_iform(ppc_inst(0x7bffffff))); in test_branch_iform()
435 check(instr_is_branch_iform(ppc_inst(0x48000001))); in test_branch_iform()
437 check(instr_is_branch_iform(ppc_inst(0x4bfffffd))); in test_branch_iform()
439 check(instr_is_branch_iform(ppc_inst(0x4bff00fd))); in test_branch_iform()
441 check(!instr_is_branch_iform(ppc_inst(0x7bfffffd))); in test_branch_iform()
445 check(instr_is_branch_to_addr(iptr, 0x100)); in test_branch_iform()
[all …]
Dfeature-fixups.c712 #define check(x) \ macro
737 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
741 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
745 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_expected, size) == 0); in test_basic_patching()
749 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
751 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_expected, size) == 0); in test_basic_patching()
770 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching()
774 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching()
778 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_expected, size) == 0); in test_alternative_patching()
782 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching()
[all …]
/arch/x86/pci/
Dpcbios.c291 union bios32 *check; in pci_find_bios() local
301 for (check = (union bios32 *) __va(0xe0000); in pci_find_bios()
302 check <= (union bios32 *) __va(0xffff0); in pci_find_bios()
303 ++check) { in pci_find_bios()
305 if (get_kernel_nofault(sig, &check->fields.signature)) in pci_find_bios()
308 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios()
310 length = check->fields.length * 16; in pci_find_bios()
315 sum += check->chars[i]; in pci_find_bios()
318 if (check->fields.revision != 0) { in pci_find_bios()
320 check->fields.revision, check); in pci_find_bios()
[all …]
/arch/mips/tools/
DMakefile7 hostprogs += loongson3-llsc-check
8 PHONY += loongson3-llsc-check
9 loongson3-llsc-check: $(obj)/loongson3-llsc-check
D.gitignore3 loongson3-llsc-check
/arch/ia64/scripts/
Dtoolchain-flags17 $CC -nostdlib -static -Wl,-T$dir/check-segrel.lds $dir/check-segrel.S -o $out
31 $CC -c $dir/check-text-align.S -o $out
39 if ! $CC -c $dir/check-model.c -o $out 2>&1 | grep __model__ | grep -q attrib
47 $CC -c $dir/check-serialize.S -o $out 2>/dev/null
Dcheck-gas8 $CC -c $dir/check-gas-asm.S -o $out
/arch/nds32/lib/
Dcopy_template.S7 srli $r3, $r2, #5 ! check if len < cache-line size 32
9 andi $r4, $r0, #0x3 ! check byte-align
13 abs $r4, $r4 ! check how many un-align byte to copy
24 andi $r3, $r0, 0x1f ! check cache-line unaligncount
38 addi $r3, $r2, #-32 ! to check $r2< cache_line , than go to word_copy
/arch/m68k/fpsp040/
Dget_op.S503 tstl ETEMP_HI(%a6) |check ms mantissa
505 tstl ETEMP_LO(%a6) |check ls mantissa
516 tstw %d0 |check for zero.
518 tstl ETEMP_HI(%a6) |check words 3 and 2
520 tstl ETEMP_LO(%a6) |check words 1 and 0
555 tstl ETEMP_HI(%a6) |check ms mantissa
557 tstl ETEMP_LO(%a6) |check ls mantissa
561 tstl ETEMP(%a6) |check sign
575 tstl ETEMP(%a6) |check for sign
583 tstw %d0 |check for zero.
[all …]
Dx_operr.S159 cmpib #0x60,%d0 |check for nan
162 bnes chkwerr |if not equal, check for incorrect operr
163 bsr check_upper |check if exp and ms mant are special
165 bnes chkwerr |if d0 is true, check for incorrect operr
186 cmpib #0x60,%d0 |check for nan
189 bnes chkberr |if not equal, check for incorrect operr
190 bsr check_upper |check if exp and ms mant are special
192 bnes chkberr |if d0 is true, check for incorrect operr
232 tstw FPTEMP_EX(%a6) |check sign
288 cmpil #0xffffffff,FPTEMP_HI(%a6) |check if first byte is all 1's
[all …]
Dsint.S144 cmpw #0x403e,LOCAL_EX(%a0) |check if (unbiased) exp > 63
146 cmpw #0x3ffd,LOCAL_EX(%a0) |check if (unbiased) exp < 0
149 | Input is less than zero. Restore sign, and check for directed
153 btstb #1,L_SCR1+3(%a6) |check for rn and rz
155 tstb LOCAL_SGN(%a0) |check for sign
160 cmpib #3,L_SCR1+3(%a6) |check for rp
171 cmpib #2,L_SCR1+3(%a6) |check for rm
182 tstb LOCAL_SGN(%a0) |check for sign
Dscale.S55 movew ETEMP(%a6),%d0 |check src bounds
62 | The source input is below 1, so we check for denormalized numbers
90 tstw ETEMP(%a6) |check src sign
98 tstw %d1 |check for denorm
127 tstl FPTEMP_HI(%a6) |check j bit
212 btstb #4,FPCR_MODE(%a6) |check which one
215 tstb L_SCR1(%a6) |check sign
220 tstb L_SCR1(%a6) |check sign
Dx_snan.S147 cmpil #0,%d0 |check for long
150 cmpil #4,%d0 |check for word
153 cmpil #6,%d0 |check for byte
173 tstl %a0 |check if <ea> is 0
195 tstl %a0 |check if <ea> is 0
217 tstl %a0 |check if <ea> is 0
258 cmpib #3,%d0 |check for nan in destination
261 btstb #6,FPTEMP_HI(%a6) |check if dest nan is an snan
262 bnes issrc |no, so check source for snan
Dres_func.S82 btstb #direction_bit,CMDREG1B(%a6) |check direction
481 btstb #2,CMDREG1B+1(%a6) |check for rd
483 btstb #6,CMDREG1B+1(%a6) |check for rs
491 tstb %d0 |check for extended
493 cmpib #1,%d0 |check for single
501 tstw LOCAL_EX(%a0) |check sign
503 cmpib #3,%d1 |check for rp
507 cmpib #2,%d1 |check for rm
516 tstw LOCAL_EX(%a0) |check sign
518 cmpib #3,%d1 |check for rp
[all …]
/arch/mips/jazz/
DKconfig9 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
20 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
30 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
/arch/h8300/lib/
Dmemcpy.S21 ;; address check
37 ;; n < sizeof(unsigned long) check
39 adds #4,er4 ; loop count check value
/arch/ia64/include/asm/
Duaccess.h146 #define __do_get_user(check, x, ptr, size) \ argument
152 if (!check || __access_ok(__gu_ptr, size)) \
173 #define __do_put_user(check, x, ptr, size) \ argument
180 if (!check || __access_ok(__pu_ptr, __pu_size)) \
/arch/m68k/ifpsp060/
Dos.S89 btst #0x5,0x4(%a6) | check for supervisor state
122 btst #0x5,0x4(%a6) | check for supervisor state
153 btst #0x5,0x4(%a6) | check for supervisor state
189 btst #0x5,0x4(%a6) | check for supervisor state
224 btst #0x5,0x4(%a6) | check for supervisor state
246 btst #0x5,0x4(%a6) | check for supervisor state
268 btst #0x5,0x4(%a6) | check for supervisor state
292 btst #0x5,0x4(%a6) | check for supervisor state
/arch/arm/nwfpe/
Dentry.S74 bl arm_check_condition @ check the condition
99 b emulate @ check condition and emulate
/arch/xtensa/
DKconfig.debug7 Enable this to turn on TLB sanity check on each entry to userspace.
8 This check can spot missing TLB invalidation/wrong PTE permissions/
/arch/arm/mach-vexpress/
Ddcscb_setup.S14 cmp r0, #0 @ check affinity level
/arch/ia64/
DMakefile29 GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
53 PHONY += compressed check
/arch/mips/kernel/
Dscall64-n32.S35 dsubu t0, v0, __NR_N32_Linux # check syscall number
89 dsubu t2, v0, __NR_N32_Linux # check (new) syscall number
/arch/arm64/boot/dts/qcom/
Dpmi8996.dtsi9 * whose the bootloader has to check to continue booting
/arch/arm/mm/
Dabort-ev4t.S26 tst r3, #1 << 20 @ check write

12345