sys: Remove $FreeBSD$: one-line .h patternRemove /^\s*\*+\s*\$FreeBSD\$.*$\n/
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
dtrace: export dtrace_dis_get_byte()kinst uses this function as well, but because it is not exported, itimplements its own copy of it. The patch also exposes the function touserland, so programs
dtrace: export dtrace_dis_get_byte()kinst uses this function as well, but because it is not exported, itimplements its own copy of it. The patch also exposes the function touserland, so programs that need to use dtrace_disx86() can use thisfunction instead of rolling their own copies.Reviewed by: markjApproved by: markj (mentor)Sponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D39871
show more ...
dtrace: Sync dis_tables.c with illumosThis brings in the following commits: commit 584b574a3b16c6772c8204ec1d1c957c56f22a87 12174 i86pc: variable may be used uninitialized Author: Toom
dtrace: Sync dis_tables.c with illumosThis brings in the following commits: commit 584b574a3b16c6772c8204ec1d1c957c56f22a87 12174 i86pc: variable may be used uninitialized Author: Toomas Soome <[email protected]> Reviewed by: John Levon <[email protected]> Reviewed by: Andrew Stormont <[email protected]> Approved by: Dan McDonald <[email protected]> commit a25e615d76804404e5fc63897a9196d4f92c3f5e 12371 dis x86 EVEX prefix mishandled 12372 dis EVEX encoding SIB mishandled 12373 dis support for EVEX vaes instructions 12374 dis support for EVEX vpclmulqdq instructions 12375 dis support for gfni instructions Author: Robert Mustacchi <[email protected]> Reviewed by: Jerry Jelinek <[email protected]> Approved by: Joshua M. Clulow <[email protected]> commit c1e9bf00765d7ac9cf1986575e4489dd8710d9b1 12369 dis WBNOINVD support Author: Robert Mustacchi <[email protected]> Reviewed by: Hans Rosenfeld <[email protected]> Reviewed by: Jerry Jelinek <[email protected]> Reviewed by: Andy Fiddaman <[email protected]> Reviewed by: Toomas Soome <[email protected]> Approved by: Dan McDonald <[email protected]> commit e4f6ce7088a7dd335b9edf4774325f888692e5fb 10893 Need support for new Cascade Lake Instructions Author: Robert Mustacchi <[email protected]> Reviewed by: Hans Rosenfeld <[email protected]> Reviewed by: Dan McDonald <[email protected]> Reviewed by: Richard Lowe <[email protected]> Approved by: Gordon Ross <[email protected]> commit cff040f3ef42d16ae655969398f5a5e6e700b85e 10226 Need support for new EPYC ISA extensions Author: Robert Mustacchi <[email protected]> Reviewed by: Hans Rosenfeld <[email protected]> Reviewed by: Jason King <[email protected]> Reviewed by: Richard Lowe <[email protected]> Approved by: Dan McDonald <[email protected]> commit d242cdf5288b86d9070d88791c8ee696612becdc 8492 AVX512 dis - legacy logical instructions Author: Jerry Jelinek <[email protected]> Reviewed by: Robert Mustacchi <[email protected]> Reviewed by: Gordon Ross <[email protected]> Approved by: Richard Lowe <[email protected]> commit 81b505b772ab015c588c56bb116239ee549b6eee 8384 AVX512 dis - EVEX prefix support 8385 32-bit avx dis test mishandles EVEX prefix 8386 32-bit bound dis is incorrect Author: Jerry Jelinek <[email protected]> Reviewed by: Robert Mustacchi <[email protected]> Reviewed by: Gordon Ross <[email protected]> Approved by: Richard Lowe <[email protected]> commit 92381362ae635a3bea638d87b7119f1623b6212e 8319 dis support for new xsave instructions Author: Jerry Jelinek <[email protected]> Reviewed by: Robert Mustacchi <[email protected]> Reviewed by: Gordon Ross <[email protected]> Approved by: Richard Lowe <[email protected]> commit a4e73d5d60e566669c550027fae2b1d87b4be2b4 8240 AVX512 dis - opmask instruction support Author: Jerry Jelinek <[email protected]> Reviewed by: Robert Mustacchi <[email protected]> Reviewed by: Toomas Soome <[email protected]> Approved by: Gordon Ross <[email protected]> 959b2dfd39979fe8a9a315a52741d009eb168822 7825 want avx dis tests 7826 PCLMULQDQ psuedo-ops aren't properly described in dis 7827 dis tests for f16c, movbe, cpuid, msr, tsc, fence instrs 7828 sysenter and sysexit dis should be allowed in 64-bit x86 Author: Robert Mustacchi <[email protected]> Reviewed by: Jerry Jelinek <[email protected]> Approved by: Richard Lowe <[email protected]>MFC after: 2 weeks
dtrace: get rid of uchar_t typesCallers are specifying uint8_t anyway and this slightly reducesdependencies on compatibility typedefs. No functional change intended.Reviewed by: markj, mhorneM
dtrace: get rid of uchar_t typesCallers are specifying uint8_t anyway and this slightly reducesdependencies on compatibility typedefs. No functional change intended.Reviewed by: markj, mhorneMFC after: 1 weekSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D39490
dtrace: Drop illumos ifdefs for CPU register definitionsThese are fixed, so having upstream's version is not especially useful,and the duplicated definitions make for confusing reading. Nofuncti
dtrace: Drop illumos ifdefs for CPU register definitionsThese are fixed, so having upstream's version is not especially useful,and the duplicated definitions make for confusing reading. Nofunctional change intended.MFC after: 1 week
Sync the x86 dis_tables.c with upstream.This corresponds to the following illumos issues: 5755 want support for Intel FMA instrs 5756 want support for Intel BMI1 instrs 5757 want support for
Sync the x86 dis_tables.c with upstream.This corresponds to the following illumos issues: 5755 want support for Intel FMA instrs 5756 want support for Intel BMI1 instrs 5757 want support for Intel BMI2 instrs 5758 want support for Intel AVX2 instrs 7204 Want broadwell rdseed and adx support 7208 Want stac/clac disasm support 7733 Need SHA Instruction dis support 7756 dis can't handle x86 SSE 3 instructions 7757 want avx2 disasm tests 7758 want SSE 4.1 disasm testsMFC after: 2 weeks
Merge {amd64,i386}/instr_size.c into x86_instr_size.c.Also reduce the diff between us and upstream: the input data model willalways be DATAMODEL_NATIVE because of a bug (p_model is never set but i
Merge {amd64,i386}/instr_size.c into x86_instr_size.c.Also reduce the diff between us and upstream: the input data model willalways be DATAMODEL_NATIVE because of a bug (p_model is never set but isalways initialized to 0), so we don't need to override the caller anyway.This change is also necessary to support the pid provider for 32-bitprocesses on amd64.MFC after: 2 weeks
add invpcid instruction to i386 dtrace disassembler tablesMFC after: 2 weeks
lahf/sahf are supported on some amd64 processorsWhile the instructions were not included into the original instructionset, their support can be indicated by a special feature bit.For example: C
lahf/sahf are supported on some amd64 processorsWhile the instructions were not included into the original instructionset, their support can be indicated by a special feature bit.For example: CPU: AMD Phenom(tm) II X4 955 Processor (3214.71-MHz K8-class CPU) ... AMD Features2=0x37ff<LAHF, ...>Clang 3.8 uses lahf/sahf as a faster alternative to pushf/popf wherepossible.MFC after: 2 weeks
Mechanically convert cddl sun #ifdef's to illumosSince the upstream for cddl code is now illumos not sun, mechanicallyconvert all sun #ifdef's to illumos #ifdef's which have been used in allnewer
Mechanically convert cddl sun #ifdef's to illumosSince the upstream for cddl code is now illumos not sun, mechanicallyconvert all sun #ifdef's to illumos #ifdef's which have been used in allnewer code for some time.Also do a manual pass to correct the use if #ifdef comments as per style(9)as well as few uses of #if defined(__FreeBSD__) vs #ifndef illumos.MFC after: 1 monthSponsored by: Multiplay
Update dis_tables.c to the latest Illumos version.This includes decodes of recent Intel instructions, in particularVT-x and related instructions. This allows the FBT provider tolocate the exit po
Update dis_tables.c to the latest Illumos version.This includes decodes of recent Intel instructions, in particularVT-x and related instructions. This allows the FBT provider tolocate the exit points of routines that include these newinstructions.Illumos issues: 3414 Need a new word of AT_SUN_HWCAP bits 3415 Add isainfo support for f16c and rdrand 3416 Need disassembler support for rdrand and f16c 3413 isainfo -v overflows 80 columns 3417 mdb disassembler confuses rdtscp for invlpg 1518 dis should support AMD SVM/AMD-V/Pacifica instructions 1096 i386 disassembler should understand complex nops 1362 add kvmstat for monitoring of KVM statistics 1363 add vmregs[] variable to DTrace 1364 need disassembler support for VMX instructions 1365 mdb needs 16-bit disassembler supportThis corresponds to Illumos-gate (github) versioneb23829ff08a873c612ac45d191d559394b4b408Reviewed by: markjMFC after: 1 week
Fix the struct reg mappings for i386 and amd64, which differ between illumosand FreeBSD.Submitted by: Prashanth Kumar <[email protected]>MFC after: 2 weeks
Move some files that are identical on i386 and amd64 to an x86 subdirectoryrather than keeping duplicate copies.Discussed with: avgMFC after: 1 week