| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | i387-tdep.c | 940 i387_guess_xsave_layout (uint64_t xcr0, size_t xsave_size, in i387_guess_xsave_layout() argument 943 if (HAS_PKRU (xcr0) && xsave_size == 2696) in i387_guess_xsave_layout() 954 else if (HAS_PKRU (xcr0) && xsave_size == 2440) in i387_guess_xsave_layout() 963 else if (HAS_AVX512 (xcr0) && xsave_size == 2688) in i387_guess_xsave_layout() 973 else if (HAS_MPX (xcr0) && xsave_size == 1088) in i387_guess_xsave_layout() 980 else if (HAS_AVX (xcr0) && xsave_size == 832) in i387_guess_xsave_layout() 995 i387_fallback_xsave_layout (uint64_t xcr0) in i387_fallback_xsave_layout() argument 999 if (HAS_PKRU (xcr0)) in i387_fallback_xsave_layout() 1011 else if (HAS_AVX512 (xcr0)) in i387_fallback_xsave_layout() 1022 else if (HAS_MPX (xcr0)) in i387_fallback_xsave_layout() [all …]
|
| D | i386-linux-tdep.c | 664 uint64_t xcr0 = bfd_get_64 (abfd, contents); in i386_linux_core_read_xsave_info() local 666 if (!i387_guess_xsave_layout (xcr0, size, layout)) in i386_linux_core_read_xsave_info() 669 return xcr0; in i386_linux_core_read_xsave_info() 685 i386_linux_read_description (uint64_t xcr0) in i386_linux_read_description() argument 687 if (xcr0 == 0) in i386_linux_read_description() 694 tdesc = &i386_linux_tdescs[(xcr0 & X86_XSTATE_X87) ? 1 : 0] in i386_linux_read_description() 695 [(xcr0 & X86_XSTATE_SSE) ? 1 : 0] in i386_linux_read_description() 696 [(xcr0 & X86_XSTATE_AVX) ? 1 : 0] in i386_linux_read_description() 697 [(xcr0 & X86_XSTATE_MPX) ? 1 : 0] in i386_linux_read_description() 698 [(xcr0 & X86_XSTATE_AVX512) ? 1 : 0] in i386_linux_read_description() [all …]
|
| D | i386-fbsd-tdep.c | 266 uint64_t xcr0 = bfd_get_64 (abfd, contents); in i386_fbsd_core_read_xsave_info() local 268 if (!i387_guess_xsave_layout (xcr0, size, layout)) in i386_fbsd_core_read_xsave_info() 271 return xcr0; in i386_fbsd_core_read_xsave_info() 292 uint64_t xcr0 = i386_fbsd_core_read_xsave_info (abfd, layout); in i386fbsd_core_read_description() local 293 if (xcr0 == 0) in i386fbsd_core_read_description() 294 xcr0 = X86_XSTATE_X87_MASK; in i386fbsd_core_read_description() 295 return i386_target_description (xcr0, true); in i386fbsd_core_read_description()
|
| D | x86-linux-nat.c | 115 static uint64_t xcr0; in read_description() local 180 xcr0 = xstateregs[(I386_LINUX_XSAVE_XCR0_OFFSET in read_description() 183 m_xsave_layout = x86_fetch_xsave_layout (xcr0, x86_xsave_length ()); in read_description() 192 xcr0_features_bits = xcr0 & X86_XSTATE_ALL_MASK; in read_description()
|
| D | amd64-fbsd-tdep.c | 227 uint64_t xcr0 = i386_fbsd_core_read_xsave_info (abfd, layout); in amd64fbsd_core_read_description() local 228 if (xcr0 == 0) in amd64fbsd_core_read_description() 229 xcr0 = X86_XSTATE_SSE_MASK; in amd64fbsd_core_read_description() 231 return amd64_target_description (xcr0, true); in amd64fbsd_core_read_description()
|
| D | i387-tdep.h | 147 extern bool i387_guess_xsave_layout (uint64_t xcr0, size_t xsave_size, 153 extern x86_xsave_layout i387_fallback_xsave_layout (uint64_t xcr0);
|
| D | i386-linux-tdep.h | 59 extern const struct target_desc *i386_linux_read_description (uint64_t xcr0);
|
| D | i386-tdep.h | 144 uint64_t xcr0 = 0; member 468 extern const struct target_desc *i386_target_description (uint64_t xcr0,
|
| D | i386-tdep.c | 4514 avx512_p = ((tdep->xcr0 & X86_XSTATE_AVX_AVX512_MASK) in i386_register_reggroup_p() 4516 avx_p = ((tdep->xcr0 & X86_XSTATE_AVX_AVX512_MASK) in i386_register_reggroup_p() 4518 sse_p = ((tdep->xcr0 & X86_XSTATE_AVX_AVX512_MASK) in i386_register_reggroup_p() 4548 && ((bnd_regnum_p && (tdep->xcr0 & X86_XSTATE_MPX_MASK)))) in i386_register_reggroup_p() 4553 && ((bndr_regnum_p && (tdep->xcr0 & X86_XSTATE_MPX_MASK)))) in i386_register_reggroup_p() 4558 && ((mpx_ctrl_regnum_p && (tdep->xcr0 & X86_XSTATE_MPX_MASK)))) in i386_register_reggroup_p() 8214 uint64_t xcr0 = X86_XSTATE_X87; in i386_xcr0_from_tdesc() local 8217 xcr0 |= X86_XSTATE_SSE; in i386_xcr0_from_tdesc() 8225 xcr0 |= X86_XSTATE_AVX; in i386_xcr0_from_tdesc() 8229 xcr0 |= X86_XSTATE_MPX_MASK; in i386_xcr0_from_tdesc() [all …]
|
| D | amd64-tdep.h | 109 extern const struct target_desc *amd64_target_description (uint64_t xcr0,
|
| D | amd64-linux-tdep.c | 1620 uint64_t xcr0 = i386_linux_core_read_xsave_info (abfd, layout); in amd64_linux_core_read_description() local 1621 if (xcr0 == 0) in amd64_linux_core_read_description() 1622 xcr0 = X86_XSTATE_SSE_MASK; in amd64_linux_core_read_description() 1624 return amd64_linux_read_description (xcr0 & X86_XSTATE_ALL_MASK, in amd64_linux_core_read_description()
|
| D | amd64-tdep.c | 3377 amd64_target_description (uint64_t xcr0, bool segments) in amd64_target_description() argument 3383 tdesc = &amd64_tdescs[(xcr0 & X86_XSTATE_AVX) ? 1 : 0] in amd64_target_description() 3384 [(xcr0 & X86_XSTATE_MPX) ? 1 : 0] in amd64_target_description() 3385 [(xcr0 & X86_XSTATE_AVX512) ? 1 : 0] in amd64_target_description() 3386 [(xcr0 & X86_XSTATE_PKRU) ? 1 : 0] in amd64_target_description() 3390 *tdesc = amd64_create_target_description (xcr0, false, false, in amd64_target_description()
|
| D | ChangeLog-2010 | 7603 xcr0 to I386_XSTATE_X87_MASK if SSE isn't available. 7775 Set ymmh_register_names, num_ymm_regs, ymm0h_regnum and xcr0. 7784 xcr0, xsave_xcr0_offset, ymm0h_regnum, ymmh_register_names and
|
| D | ChangeLog-2014 | 9381 registers if feature is present in xcr0.
|
| D | ChangeLog-2017 | 9292 if xcr0 is X86_XSTATE_X87_MASK.
|
| /netbsd/src/sys/arch/x86/acpi/ |
| D | acpi_wakeup.c | 249 uint64_t xcr0 = 0; in acpi_cpu_sleep() local 264 xcr0 = rdxcr(0); in acpi_cpu_sleep() 279 wrxcr(0, xcr0); in acpi_cpu_sleep() 301 uint64_t xcr0 = 0; in acpi_md_sleep() local 337 xcr0 = rdxcr(0); in acpi_md_sleep() 353 wrxcr(0, xcr0); in acpi_md_sleep()
|
| /netbsd/src/sys/dev/qbus/ |
| D | if_qtreg.h | 200 #define xcr0 qt_un0.csr0.Ibal macro
|
| /netbsd/src/external/gpl3/binutils/dist/ |
| D | ChangeLog.git | 23744 else if (HAS_AVX (xcr0) && xsave_size == 832) 28528 x86_xsave_layout as well as xcr0 using the size of an existing 28550 x86_xsave_layout as well as xcr0 using the size of an existing 145245 the proper xcr0 mask (X87-only) for old kernels or systems without
|