aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/cpufunc.h
Commit message (Expand)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-231-2/+0
* x86: cpufunc: Add rdtsc_ordered()Adam Fenn2021-10-101-0/+14
* x86: cpufunc: Add rdtscp_aux()Adam Fenn2021-10-101-0/+9
* amd64: use compiler intrinsics for bsf* and bsr*Mateusz Guzik2021-02-041-32/+4
* amd64: use builtins for all ffs* variantsMateusz Guzik2021-01-141-14/+3
* x86: Add rdtscp32() into cpufunc.h.Konstantin Belousov2021-01-101-0/+9
* amd64: patch ffsl to use the compiler builtinMateusz Guzik2020-07-161-1/+2
* amd64: plug spurious cld instructionsMateusz Guzik2019-10-081-6/+6
* Provide convenience C wrappers for RDPKRU and WRPKRU instructions.Konstantin Belousov2019-02-191-0/+16
* Add clwb().Konstantin Belousov2018-10-161-0/+7
* Fully restore the GDTR, IDTR, and LDTR after VT-x VM exits.John Baldwin2018-10-111-0/+9
* Tell the compiler that rdtscp clobbers %ecx.Mark Johnston2018-06-091-1/+1
* cpufunc: add rdtscp for x86Matt Macy2018-06-071-0/+9
* Add STAC and CLAC instructions wrappers.Konstantin Belousov2018-01-141-0/+14
* sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Add support for Intel Software Guard Extensions (Intel SGX).Ruslan Bukin2017-08-161-0/+79
* Add {rd,wr}{fs,gs}base C wrappers for instructions.Konstantin Belousov2017-08-141-0/+32
* x86: Tag some intrinsics with __pure2Conrad Meyer2017-08-031-9/+9
* Don't access the reserved registers %dr4 and %dr5 on i386.Bruce Evans2017-03-171-32/+0
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Use SFENCE for ordering CLFLUSHOPT.Konstantin Belousov2017-01-201-0/+7
* Add amd64 functions to load/store GDT register, store IDT and TR registers.Konstantin Belousov2016-09-211-0/+33
* For amd64 non-PCID machines, and for i386 machines with support forKonstantin Belousov2015-12-031-1/+1
* Add CLFLUSHOPT instruction wrappers.Konstantin Belousov2015-10-231-0/+7
* Rewrite amd64 PCID implementation to follow an algorithm described inKonstantin Belousov2015-05-091-3/+2
* Add x2APIC support. Enable it by default if CPU is capable. TheKonstantin Belousov2015-02-091-0/+10
* provide fast versions of ffsl and flsl for i386; ffsll and flsll for amd64Andriy Gapon2014-02-141-0/+16
* Implement PV IPIs for PVHVM guests and further converge PV and HVMJustin T. Gibbs2013-09-061-0/+28
* Provide a wrapper for the INVPCID instruction, definition of theKonstantin Belousov2013-08-301-0/+20
* Add lfence().Konstantin Belousov2012-08-011-0/+7
* Add a clts() wrapper around the 'clts' instruction to <machine/cpufunc.h>John Baldwin2012-07-091-0/+10
* Now that our assembler supports the xsave family of instructions, use themJohn Baldwin2012-07-051-0/+19
* Optimize reserve_pv_entries() using the popcnt instruction.Alan Cox2012-06-301-0/+9
* Correct function prototype for read_rflags().John Baldwin2012-02-271-1/+1
* Move xrstor/xsave/xsetbv into fpu.c and reorder them.Konstantin Belousov2012-01-301-38/+0
* Order newly added functions alphabetically.Konstantin Belousov2012-01-251-12/+12
* Implement xsetbv(), xsave() and xrstor() providing C access to theKonstantin Belousov2012-01-171-0/+38
* Correct cpu_monitor() and cpu_mwait() for amd64. These instructions takeJung-uk Kim2011-07-051-5/+7
* Add a function rdtsc32() to read lower 32 bits from TSC and discard upperJung-uk Kim2011-04-141-0/+9
* Consistently use __volatile as the rest of this file.Jung-uk Kim2011-04-141-6/+6
* Prefer C99 standard integers to reduce diff from i386 version.Jung-uk Kim2011-04-141-63/+63
* Change the parameter passed to the inline assembly to u_shortRoman Divacky2010-09-031-23/+23
* Quiet variable "shadows" warning:David E. O'Brien2010-01-011-18/+18
* cpufunc.h: unify/correct style of c extension namesAndriy Gapon2009-09-301-3/+3
* When the page caching attributes are changed, after new mapping isKonstantin Belousov2009-07-221-0/+14
* Simplify in/out functions (for i386 and AMD64).Ed Schouten2009-04-111-79/+8
* Don't explicitly force ecx to be used for MSR_FSBASE/MSR_GSBASE.Ed Schouten2009-04-071-10/+4
* Change some movl's to mov's. Newer GAS no longer accept 'movl' instructionsDavid E. O'Brien2009-01-311-9/+9
* - Add cpuctl(4) pseudo-device driver to provide access to some low-levelStanislav Sedov2008-08-081-0/+5
* - Add inlines for the monitor and mwait instructions.Jeff Roberson2008-04-181-0/+13