/linux-4.4.14/arch/m68k/math-emu/ |
H A D | multi_arith.h | 28 reg->lowmant = reg->mant.m32[1] << (8 - cnt); fp_denormalize() 29 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | fp_denormalize() 30 (reg->mant.m32[0] << (32 - cnt)); fp_denormalize() 31 reg->mant.m32[0] = reg->mant.m32[0] >> cnt; fp_denormalize() 34 reg->lowmant = reg->mant.m32[1] >> (cnt - 8); fp_denormalize() 35 if (reg->mant.m32[1] << (40 - cnt)) fp_denormalize() 37 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | fp_denormalize() 38 (reg->mant.m32[0] << (32 - cnt)); fp_denormalize() 39 reg->mant.m32[0] = reg->mant.m32[0] >> cnt; fp_denormalize() 43 : "m" (reg->mant.m32[0]), "d" (64 - cnt)); fp_denormalize() 44 if (reg->mant.m32[1] << (40 - cnt)) fp_denormalize() 46 reg->mant.m32[1] = reg->mant.m32[0] >> (cnt - 32); fp_denormalize() 47 reg->mant.m32[0] = 0; fp_denormalize() 50 reg->lowmant = reg->mant.m32[0] >> (cnt - 40); fp_denormalize() 51 if ((reg->mant.m32[0] << (72 - cnt)) || reg->mant.m32[1]) fp_denormalize() 53 reg->mant.m32[1] = reg->mant.m32[0] >> (cnt - 32); fp_denormalize() 54 reg->mant.m32[0] = 0; fp_denormalize() 57 reg->lowmant = reg->mant.m32[0] || reg->mant.m32[1]; fp_denormalize() 58 reg->mant.m32[0] = 0; fp_denormalize() 59 reg->mant.m32[1] = 0; fp_denormalize() 68 if (reg->mant.m32[0]) { fp_overnormalize() 69 asm ("bfffo %1{#0,#32},%0" : "=d" (shift) : "dm" (reg->mant.m32[0])); fp_overnormalize() 70 reg->mant.m32[0] = (reg->mant.m32[0] << shift) | (reg->mant.m32[1] >> (32 - shift)); fp_overnormalize() 71 reg->mant.m32[1] = (reg->mant.m32[1] << shift); fp_overnormalize() 73 asm ("bfffo %1{#0,#32},%0" : "=d" (shift) : "dm" (reg->mant.m32[1])); fp_overnormalize() 74 reg->mant.m32[0] = (reg->mant.m32[1] << shift); fp_overnormalize() 75 reg->mant.m32[1] = 0; fp_overnormalize() 89 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[1]) fp_addmant() 90 : "d" (src->mant.m32[1]), "0" (dest->mant.m32[1])); fp_addmant() 91 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[0]) fp_addmant() 92 : "d" (src->mant.m32[0]), "0" (dest->mant.m32[0])); fp_addmant() 107 reg->lowmant = (reg->mant.m32[1] << 7) | (reg->lowmant ? 1 : 0); fp_addcarry() 108 reg->mant.m32[1] = (reg->mant.m32[1] >> 1) | fp_addcarry() 109 (reg->mant.m32[0] << 31); fp_addcarry() 110 reg->mant.m32[0] = (reg->mant.m32[0] >> 1) | 0x80000000; fp_addcarry() 121 asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[1]) fp_submant() 122 : "d" (src2->mant.m32[1]), "0" (src1->mant.m32[1])); fp_submant() 123 asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[0]) fp_submant() 124 : "d" (src2->mant.m32[0]), "0" (src1->mant.m32[0])); fp_submant() 142 asm volatile ("add.l %1,%0" : "=d,g" (dest->m32[2]) \ 143 : "g,d" (temp.m32[1]), "0,0" (dest->m32[2])); \ 144 asm volatile ("addx.l %1,%0" : "=d" (dest->m32[1]) \ 145 : "d" (temp.m32[0]), "0" (dest->m32[1])); \ 146 asm volatile ("addx.l %1,%0" : "=d" (dest->m32[0]) \ 147 : "d" (0), "0" (dest->m32[0])); \ 150 asm ("sub.l %1,%0" : "=d,dm" (dest.m32[1]) \ 151 : "dm,d" (src.m32[1]), "0,0" (dest.m32[1])); \ 152 asm ("subx.l %1,%0" : "=d" (dest.m32[0]) \ 153 : "d" (src.m32[0]), "0" (dest.m32[0])); \ 157 asm ("sub.l %1,%0" : "=d,dm" (dest.m32[2]) \ 158 : "dm,d" (srcl), "0,0" (dest.m32[2])); \ 159 asm ("subx.l %1,%0" : "=d" (dest.m32[1]) \ 160 : "d" (srcm), "0" (dest.m32[1])); \ 161 asm ("subx.l %2,%1; scs %0" : "=d" (carry), "=d" (dest.m32[0]) \ 162 : "d" (srch), "1" (dest.m32[0])); \ 171 fp_mul64(dest->m32[0], dest->m32[1], src1->mant.m32[0], src2->mant.m32[0]); fp_multiplymant() 172 fp_mul64(dest->m32[2], dest->m32[3], src1->mant.m32[1], src2->mant.m32[1]); fp_multiplymant() 174 fp_mul64(temp.m32[0], temp.m32[1], src1->mant.m32[0], src2->mant.m32[1]); fp_multiplymant() 177 fp_mul64(temp.m32[0], temp.m32[1], src1->mant.m32[1], src2->mant.m32[0]); fp_multiplymant() 186 unsigned long *mantp = dest->m32; fp_dividemant() 209 dummy = div->mant.m32[1] / div->mant.m32[0] + 1; fp_dividemant() 215 if (src->mant.m32[0] == div->mant.m32[0]) { fp_dividemant() 216 fp_div64(first, rem, 0, src->mant.m32[1], div->mant.m32[0]); fp_dividemant() 221 fp_div64(first, rem, src->mant.m32[0], src->mant.m32[1], div->mant.m32[0]); fp_dividemant() 226 fp_mul64(tmp.m32[0], tmp.m32[1], div->mant.m32[0], first - *mantp); fp_dividemant() 227 fp_add64(tmp.m32[0], tmp.m32[1], 0, rem); fp_dividemant() 228 tmp.m32[2] = 0; fp_dividemant() 230 fp_mul64(tmp64.m32[0], tmp64.m32[1], *mantp, div->mant.m32[1]); fp_dividemant() 231 fp_sub96c(tmp, 0, tmp64.m32[0], tmp64.m32[1]); fp_dividemant() 233 src->mant.m32[0] = tmp.m32[1]; fp_dividemant() 234 src->mant.m32[1] = tmp.m32[2]; fp_dividemant() 236 while (!fp_sub96c(tmp, 0, div->mant.m32[0], div->mant.m32[1])) { fp_dividemant() 237 src->mant.m32[0] = tmp.m32[1]; fp_dividemant() 238 src->mant.m32[1] = tmp.m32[2]; fp_dividemant() 252 dest->lowmant = src->m32[2] >> 24; fp_putmant128() 253 if (src->m32[3] || (src->m32[2] << 8)) fp_putmant128() 258 : "=d" (tmp) : "0" (src->m32[2])); fp_putmant128() 260 : "=d" (dest->mant.m32[1]) : "0" (src->m32[1])); fp_putmant128() 262 : "=d" (dest->mant.m32[0]) : "0" (src->m32[0])); fp_putmant128() 264 if (src->m32[3] || (tmp << 8)) fp_putmant128() 269 : "=d" (dest->mant.m32[0]) fp_putmant128() 270 : "d" (src->m32[0]), "0" (src->m32[1])); fp_putmant128() 272 : "=d" (dest->mant.m32[1]) : "0" (src->m32[2])); fp_putmant128() 274 : "=d" (tmp) : "0" (src->m32[3])); fp_putmant128() 276 if (src->m32[3] << 7) fp_putmant128() 280 dest->mant.m32[0] = src->m32[1]; fp_putmant128() 281 dest->mant.m32[1] = src->m32[2]; fp_putmant128() 282 dest->lowmant = src->m32[3] >> 24; fp_putmant128() 283 if (src->m32[3] << 8) fp_putmant128()
|
H A D | fp_arith.c | 195 if ((long)dest->mant.m32[0] >= 0) fp_fmul() 197 if ((long)src->mant.m32[0] >= 0) fp_fmul() 205 if ((long)temp.m32[0] > 0) { fp_fmul() 282 if ((long)dest->mant.m32[0] >= 0) fp_fdiv() 284 if ((long)src->mant.m32[0] >= 0) fp_fdiv() 292 if (!temp.m32[0]) { fp_fdiv() 351 fp_mul64(dest->mant.m32[0], dest->mant.m32[1], fp_fsglmul() 352 dest->mant.m32[0] & 0xffffff00, fp_fsglmul() 353 src->mant.m32[0] & 0xffffff00); fp_fsglmul() 417 dest->mant.m32[0] &= 0xffffff00; fp_fsgldiv() 418 src->mant.m32[0] &= 0xffffff00; fp_fsgldiv() 421 if (dest->mant.m32[0] >= src->mant.m32[0]) { fp_fsgldiv() 423 fp_div64(quot, rem, dest->mant.m32[0], 0, src->mant.m32[0]); fp_fsgldiv() 424 dest->mant.m32[0] = 0x80000000 | (quot >> 1); fp_fsgldiv() 425 dest->mant.m32[1] = (quot & 1) | rem; /* only for rounding */ fp_fsgldiv() 427 fp_div64(quot, rem, dest->mant.m32[0], 0, src->mant.m32[0]); fp_fsgldiv() 428 dest->mant.m32[0] = quot; fp_fsgldiv() 429 dest->mant.m32[1] = rem; /* only for rounding */ fp_fsgldiv() 471 dest->mant.m32[0] &= 0xffffffffU << (0x401e - dest->exp); fp_roundint() 472 dest->mant.m32[1] = 0; fp_roundint() 477 dest->mant.m32[1] &= 0xffffffffU << (0x403e - dest->exp); fp_roundint() 478 if (oldmant.m32[1] == dest->mant.m32[1]) fp_roundint() 513 if (!(oldmant.m32[0] & mask)) fp_roundint() 515 if (oldmant.m32[0] & (mask << 1)) fp_roundint() 517 if (!(oldmant.m32[0] << (dest->exp - 0x3ffd)) && fp_roundint() 518 !oldmant.m32[1]) fp_roundint() 522 if (oldmant.m32[1] & 0x80000000) fp_roundint() 524 if (oldmant.m32[0] & 1) fp_roundint() 526 if (!(oldmant.m32[1] << 1)) fp_roundint() 531 if (!(oldmant.m32[1] & mask)) fp_roundint() 533 if (oldmant.m32[1] & (mask << 1)) fp_roundint() 535 if (!(oldmant.m32[1] << (dest->exp - 0x401d))) fp_roundint() 557 if (dest->mant.m32[0] += mask) fp_roundint() 559 dest->mant.m32[0] = 0x80000000; fp_roundint() 564 if (dest->mant.m32[1] += mask) fp_roundint() 566 if (dest->mant.m32[0] += 1) fp_roundint() 568 dest->mant.m32[0] = 0x80000000; fp_roundint()
|
/linux-4.4.14/tools/lguest/ |
H A D | Makefile | 2 CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE -Iinclude
|
/linux-4.4.14/arch/tile/kernel/vdso/ |
H A D | Makefile | 11 # vdso32 is only for tilegx -m32 compat task. 94 KBUILD_AFLAGS_32 += -m32 -s 96 KBUILD_CFLAGS_32 += -m32 -fPIC -shared 115 SYSCFLAGS_vdso32.so.dbg = -m32 -shared -s -Wl,-soname=linux-vdso32.so.1 \
|
H A D | vgettimeofday.c | 15 #define VDSO_BUILD /* avoid some shift warnings for -m32 in <asm/page.h> */
|
/linux-4.4.14/tools/testing/selftests/x86/ |
H A D | Makefile | 18 CAN_BUILD_I386 := $(shell ./check_cc.sh $(CC) trivial_32bit_program.c -m32) 39 $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl -lm
|
H A D | test_syscall_vdso.c | 17 * gcc -Os -Wall -static -m32 test_syscall_vdso.c thunks_32.S
|
/linux-4.4.14/drivers/gpu/drm/ |
H A D | drm_ioc32.c | 196 drm_map32_t m32; compat_drm_getmap() local 214 if (__get_user(m32.offset, &map->offset) compat_drm_getmap() 215 || __get_user(m32.size, &map->size) compat_drm_getmap() 216 || __get_user(m32.type, &map->type) compat_drm_getmap() 217 || __get_user(m32.flags, &map->flags) compat_drm_getmap() 219 || __get_user(m32.mtrr, &map->mtrr)) compat_drm_getmap() 222 m32.handle = (unsigned long)handle; compat_drm_getmap() 223 if (copy_to_user(argp, &m32, sizeof(m32))) compat_drm_getmap() 233 drm_map32_t m32; compat_drm_addmap() local 238 if (copy_from_user(&m32, argp, sizeof(m32))) compat_drm_addmap() 244 if (__put_user(m32.offset, &map->offset) compat_drm_addmap() 245 || __put_user(m32.size, &map->size) compat_drm_addmap() 246 || __put_user(m32.type, &map->type) compat_drm_addmap() 247 || __put_user(m32.flags, &map->flags)) compat_drm_addmap() 254 if (__get_user(m32.offset, &map->offset) compat_drm_addmap() 255 || __get_user(m32.mtrr, &map->mtrr) compat_drm_addmap() 259 m32.handle = (unsigned long)handle; compat_drm_addmap() 260 if (m32.handle != (unsigned long)handle) compat_drm_addmap() 263 handle, m32.type, m32.offset); compat_drm_addmap() 265 if (copy_to_user(argp, &m32, sizeof(m32))) compat_drm_addmap() 732 drm_agp_mode32_t m32; compat_drm_agp_enable() local 735 if (get_user(m32.mode, &argp->mode)) compat_drm_agp_enable() 739 if (put_user(m32.mode, &mode->mode)) compat_drm_agp_enable()
|
/linux-4.4.14/arch/tile/include/uapi/asm/ |
H A D | ptrace.h | 46 /* Provide appropriate length type to userspace regardless of -m32/-m64. */ 96 #define PT_FLAGS_COMPAT 0x10000 /* process is an -m32 compat process */
|
/linux-4.4.14/arch/sparc/ |
H A D | Makefile | 27 KBUILD_CFLAGS += -m32 -mcpu=v8 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 28 KBUILD_AFLAGS += -m32 -Wa,-Av8
|
/linux-4.4.14/arch/x86/math-emu/ |
H A D | load_store.c | 38 _PUSH_, _PUSH_, _PUSH_, _PUSH_, /* /0: d9:fld f32, db:fild m32, dd:fld f64, df:fild m16 */ 39 _null_, _REG0_, _REG0_, _REG0_, /* /1: d9:undef, db,dd,df:fisttp m32/64/16 */ 40 _REG0_, _REG0_, _REG0_, _REG0_, /* /2: d9:fst f32, db:fist m32, dd:fst f64, df:fist m16 */ 41 _REG0_, _REG0_, _REG0_, _REG0_, /* /3: d9:fstp f32, db:fistp m32, dd:fstp f64, df:fistp m16 */
|
H A D | reg_ld_str.c | 157 unsigned m32; FPU_load_single() local 162 FPU_get_user(m32, (unsigned long __user *)single); FPU_load_single() 165 negative = (m32 & 0x80000000) ? SIGN_Negative : SIGN_Positive; FPU_load_single() 167 if (!(m32 & 0x7fffffff)) { FPU_load_single() 173 exp = ((m32 & 0x7f800000) >> 23) - SINGLE_Ebias + EXTENDED_Ebias; FPU_load_single() 174 m32 = (m32 & 0x7fffff) << 8; FPU_load_single() 177 loaded_data->sigh = m32; FPU_load_single() 184 if (m32 == 0) { FPU_load_single() 193 loaded_data->sigh = m32 | 0x80000000; FPU_load_single() 198 loaded_data->sigh = m32 | 0x80000000; FPU_load_single()
|
/linux-4.4.14/samples/seccomp/ |
H A D | Makefile | 26 MFLAG = -m32
|
/linux-4.4.14/arch/tile/ |
H A D | Makefile | 45 # Not needed for (e.g.) "$(CC) -m32" since the compiler automatically
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | asm-offsets.c | 23 # error Must not specify -m32 when building the TILE-Gx kernel
|
H A D | backtrace.c | 280 /* Naively try to track moveli values to support addx for -m32. */ find_caller_pc_and_caller_sp() 494 /* Track moveli arguments for -m32 mode. */ find_caller_pc_and_caller_sp()
|
/linux-4.4.14/arch/x86/entry/vdso/ |
H A D | Makefile | 124 VDSO_LDFLAGS_vdso32.lds = -m32 -Wl,-m,elf_i386 -Wl,-soname=linux-gate.so.1 136 $(obj)/vdso32.so.dbg: asflags-$(CONFIG_X86_64) += -m32 142 KBUILD_CFLAGS_32 += -m32 -msoft-float -mregparm=0 -fpic
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | math-emu.h | 76 unsigned long m32[2]; member in union:fp_mant64 81 unsigned long m32[4]; member in union:fp_mant128
|
/linux-4.4.14/arch/frv/include/asm/ |
H A D | math-emu.h | 76 unsigned long m32[2]; member in union:fp_mant64 81 unsigned long m32[4]; member in union:fp_mant128
|
/linux-4.4.14/arch/tile/include/asm/ |
H A D | elf.h | 143 #define COMPAT_ELF_PLATFORM "tilegx-m32"
|
/linux-4.4.14/tools/build/feature/ |
H A D | Makefile | 159 $(CC) -m32 -o $(OUTPUT)$@ test-compile.c
|
/linux-4.4.14/arch/x86/ |
H A D | Makefile | 20 CODE16GCC_CFLAGS := -m32 -Wa,$(srctree)/arch/x86/boot/code16gcc.h 57 biarch := $(call cc-option,-m32)
|
/linux-4.4.14/arch/powerpc/ |
H A D | Makefile | 15 HAS_BIARCH := $(call cc-option-yn, -m32) 25 CROSS32CC := $(CC) -m32
|
/linux-4.4.14/tools/perf/arch/x86/tests/ |
H A D | insn-x86-dat-src.c | 474 /* bndmk m32, bnd */ main() 496 /* bndcl r/m32, bnd */ main() 519 /* bndcu r/m32, bnd */ main() 542 /* bndcn r/m32, bnd */ main()
|
/linux-4.4.14/crypto/ |
H A D | cast5_generic.c | 324 * right 32-bit halves L0 = m1...m32 and R0 = m33...m64.) __cast5_encrypt()
|
/linux-4.4.14/scripts/ |
H A D | recordmcount.pl | 242 $cc .= " -m32";
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | Makefile | 15 # compiler for the rest of the kernel, with the -m32 flag added.
|
/linux-4.4.14/arch/ia64/sn/pci/ |
H A D | tioce_provider.c | 442 else /* must be m32 or d32 */ tioce_dma_barrier()
|