/external/valgrind/VEX/priv/ |
D | host_generic_maddf.c | 50 unsigned int mxcsr; \ 51 __asm __volatile__ ("stmxcsr %0" : "=m" (mxcsr)); \ 52 (env) = mxcsr; \ 53 mxcsr = (mxcsr | 0x7f80) & ~0x3f; \ 54 __asm __volatile__ ("ldmxcsr %0" : : "m" (mxcsr));\ 60 unsigned int mxcsr, ret; \ 61 __asm __volatile__ ("stmxcsr %0" : "=m" (mxcsr)); \ 62 ret = (mxcsr >> 5) & 1; \ 63 mxcsr = (mxcsr & 0x3d) | (env); \ 64 __asm __volatile__ ("ldmxcsr %0" : : "m" (mxcsr));\ [all …]
|
D | guest_x86_helpers.c | 1543 ULong x86g_check_ldmxcsr ( UInt mxcsr ) in x86g_check_ldmxcsr() argument 1547 UInt rmode = (mxcsr >> 13) & 3; in x86g_check_ldmxcsr() 1552 if ((mxcsr & 0x1F80) != 0x1F80) { in x86g_check_ldmxcsr() 1557 if (mxcsr & (1<<15)) { in x86g_check_ldmxcsr() 1562 if (mxcsr & (1<<6)) { in x86g_check_ldmxcsr() 1710 UInt mxcsr; in x86g_dirtyhelper_FXSAVE() local 1717 mxcsr = x86g_create_mxcsr( gst->guest_SSEROUND ); in x86g_dirtyhelper_FXSAVE() 1749 addrS[12] = toUShort(mxcsr); /* MXCSR */ in x86g_dirtyhelper_FXSAVE() 1750 addrS[13] = toUShort(mxcsr >> 16); in x86g_dirtyhelper_FXSAVE() 1949 VexEmNote LibVEX_GuestX86_put_mxcsr ( /*IN*/UInt mxcsr, in LibVEX_GuestX86_put_mxcsr() argument [all …]
|
D | guest_x86_defs.h | 122 extern ULong x86g_check_ldmxcsr ( UInt mxcsr );
|
D | guest_amd64_defs.h | 122 extern ULong amd64g_check_ldmxcsr ( ULong mxcsr );
|
D | guest_amd64_helpers.c | 2131 UInt mxcsr; in amd64g_dirtyhelper_XSAVE_COMPONENT_1_EXCLUDING_XMMREGS() local 2135 mxcsr = amd64g_create_mxcsr( gst->guest_SSEROUND ); in amd64g_dirtyhelper_XSAVE_COMPONENT_1_EXCLUDING_XMMREGS() 2137 addrS[12] = toUShort(mxcsr); /* MXCSR */ in amd64g_dirtyhelper_XSAVE_COMPONENT_1_EXCLUDING_XMMREGS() 2138 addrS[13] = toUShort(mxcsr >> 16); in amd64g_dirtyhelper_XSAVE_COMPONENT_1_EXCLUDING_XMMREGS() 2358 ULong amd64g_check_ldmxcsr ( ULong mxcsr ) in amd64g_check_ldmxcsr() argument 2362 ULong rmode = (mxcsr >> 13) & 3; in amd64g_check_ldmxcsr() 2367 if ((mxcsr & 0x1F80) != 0x1F80) { in amd64g_check_ldmxcsr() 2372 if (mxcsr & (1<<15)) { in amd64g_check_ldmxcsr() 2377 if (mxcsr & (1<<6)) { in amd64g_check_ldmxcsr()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_math.c | 90 unsigned mxcsr = 0; in util_fpstate_get() local 94 mxcsr = _mm_getcsr(); in util_fpstate_get() 98 return mxcsr; in util_fpstate_get() 130 util_fpstate_set(unsigned mxcsr) in util_fpstate_set() argument 134 _mm_setcsr(mxcsr); in util_fpstate_set()
|
/external/swiftshader/third_party/LLVM/test/CodeGen/Generic/ |
D | 2007-04-27-LargeMemObject.ll | 8 %mxcsr = alloca %struct..0anon, align 16 ; <%struct..0anon*> [#uses=1] 10 …deeffect "$0 $1", "=*m,*m,~{dirflag},~{fpsr},~{flags}"( %struct..0anon* %mxcsr, %struct..0anon* %…
|
/external/llvm/test/CodeGen/Generic/ |
D | 2007-04-27-LargeMemObject.ll | 8 %mxcsr = alloca %struct..0anon, align 16 ; <%struct..0anon*> [#uses=1] 10 …deeffect "$0 $1", "=*m,*m,~{dirflag},~{fpsr},~{flags}"( %struct..0anon* %mxcsr, %struct..0anon* %…
|
/external/adhd/cras/src/dsp/ |
D | dsp_util.c | 424 unsigned int mxcsr; in dsp_enable_flush_denormal_to_zero() local 425 mxcsr = __builtin_ia32_stmxcsr(); in dsp_enable_flush_denormal_to_zero() 426 __builtin_ia32_ldmxcsr(mxcsr | 0x8040); in dsp_enable_flush_denormal_to_zero()
|
/external/google-breakpad/src/common/android/ |
D | breakpad_getcontext_unittest.cc | 158 COMPILE_ASSERT_EQ(offsetof(_libc_fpstate,mxcsr),offsetof(_fpstate,mxcsr), in TEST() 173 COMPILE_ASSERT_EQ(FPREGS_OFFSET_MXCSR, offsetof(_libc_fpstate,mxcsr), in TEST()
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | ptrace.cc | 42 if (fpregs.mxcsr) in main() 43 printf("%x\n", fpregs.mxcsr); in main()
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | sigcontext.h | 123 __u32 mxcsr; member 157 __u32 mxcsr; member
|
D | kvm.h | 171 __u32 mxcsr; member
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-x86-solaris.c | 291 fs->mxcsr = LibVEX_GuestX86_get_mxcsr(&tst->arch.vex); in ML_() 292 VG_TRACK(post_mem_write, part, tid, (Addr)&fs->mxcsr, sizeof(fs->mxcsr)); in ML_() 523 (Addr)&fs->mxcsr, sizeof(fs->mxcsr)); in ML_() 524 note = LibVEX_GuestX86_put_mxcsr(fs->mxcsr, &tst->arch.vex); in ML_()
|
D | syswrap-amd64-solaris.c | 268 VG_TRACK(post_mem_write, part, tid, (Addr)&fs->mxcsr, sizeof(fs->mxcsr)); in ML_() 508 (Addr)&fs->mxcsr, sizeof(fs->mxcsr)); in ML_()
|
/external/google-breakpad/src/client/linux/dump_writer_common/ |
D | thread_info.cc | 116 U32(out->extended_registers + 24, fpxregs.mxcsr); in FillCPUContext() 180 out->flt_save.mx_csr = fpregs.mxcsr;
|
D | ucontext_reader.cc | 140 out->flt_save.mx_csr = fpregs->mxcsr;
|
/external/valgrind/include/vki/ |
D | vki-amd64-linux.h | 186 __vki_u32 mxcsr; member 504 __vki_u32 mxcsr; member
|
D | vki-x86-linux.h | 227 unsigned long mxcsr; member 597 long mxcsr; member
|
/external/valgrind/VEX/pub/ |
D | libvex_guest_x86.h | 317 VexEmNote LibVEX_GuestX86_put_mxcsr ( /*IN*/UInt mxcsr,
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | ptrace.cc | 125 printf("%lx\n", (unsigned long)fpxregs.mxcsr); in main()
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-solaris.c | 338 UInt mxcsr = LibVEX_GuestX86_get_mxcsr(CONST_CAST(VexGuestX86State *, in fill_fpregset() local 340 fs->mxcsr = mxcsr; in fill_fpregset() 571 UInt mxcsr = LibVEX_GuestX86_get_mxcsr(CONST_CAST(VexGuestX86State *, in fill_xregs() local 573 xregs->pr_un.pr_xsave.pr_mxcsr = mxcsr; in fill_xregs()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_arit.h | 403 LLVMValueRef mxcsr);
|
D | lp_bld_arit.c | 3778 LLVMValueRef mxcsr = in lp_build_fpstate_set_denorms_zero() local 3786 mxcsr = LLVMBuildOr(builder, mxcsr, in lp_build_fpstate_set_denorms_zero() 3787 LLVMConstInt(LLVMTypeOf(mxcsr), daz_ftz, 0), ""); in lp_build_fpstate_set_denorms_zero() 3789 mxcsr = LLVMBuildAnd(builder, mxcsr, in lp_build_fpstate_set_denorms_zero() 3790 LLVMConstInt(LLVMTypeOf(mxcsr), ~daz_ftz, 0), ""); in lp_build_fpstate_set_denorms_zero() 3793 LLVMBuildStore(builder, mxcsr, mxcsr_ptr); in lp_build_fpstate_set_denorms_zero()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | api.cpp | 208 uint32_t mxcsr = _mm_getcsr(); in QueueWork() local 209 _mm_setcsr(mxcsr | _MM_FLUSH_ZERO_ON | _MM_DENORMALS_ZERO_ON); in QueueWork() 227 _mm_setcsr(mxcsr); in QueueWork()
|