search for: specialreg

Displaying 5 results from an estimated 5 matches for "specialreg".

2017 Sep 25
1
TableGen questions.
...using if(eq()) extensively, so that the multiclass template for the instructions is a single line. Code follows (probably not correct due to name mangling). class IO_MultSrc<bits<2> op0Type, RegisterClass Src0RC> { dag insDefault = !if(!eq(op0Type, 0b01), (ins SpecialReg:$dst, Src0RC:$a), (ins Src0RC:$a)); ... } multiclass MultSrc1Spec<bits<5> subOpcode, bits<2> op0t, string opcodeStr, RegisterClass RegType> { def _allspecial: MultSrcOneDestInst<subOpcode, op0t, 0b00, IO_MultSrc<op0...
2017 Sep 26
0
TableGen questions.
> > On 9/25/2017 6:03 PM, Shane Ryoo via llvm-dev wrote: > > MultSrcOneDestInst<subOpcode, op0t, 0b00, > > IO_MultSrc<op0t, SpecialReg>.outsDefault, > > IO_MultSrc<op0t, SpecialReg>.insDefault>; > I suspect that the use of IO_MultSrc here is the culprit. TableGen has > some limitations here, when it comes to instantiating classes "inline", > like in the example above....
2006 Apr 23
1
fsck_ufs locked in snaplk
Colleagues, one of my servers had to be rebooted uncleanly and then I have backgrounded fsck locked for more than an our in snaplk: 742 root 1 -4 4 1320K 688K snaplk 0:02 0.00% fsck_ufs File system in question is 200G gmirror on SATA. Usually making a snapshot (e.g., for making dumps) consumes 3-4 minutes for that fs, so it seems to me that filesystem is in a deadlock. Any
2013 Oct 28
5
FreeBSD PVH guest support
...te mode 100644 sys/x86/xen/pvcpu.c create mode 100644 sys/xen/pv.h diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index 55cda3a..e04cc48 100644 --- a/sys/amd64/amd64/locore.S +++ b/sys/amd64/amd64/locore.S @@ -31,6 +31,12 @@ #include <machine/pmap.h> #include <machine/specialreg.h> +#ifdef XENHVM +#include <xen/xen-os.h> +#define __ASSEMBLY__ +#include <xen/interface/elfnote.h> +#endif + #include "assym.s" /* @@ -86,3 +92,50 @@ NON_GPROF_ENTRY(btext) ALIGN_DATA /* just to be sure */ .space 0x1000 /* space for bootstack - temporary sta...
2003 Aug 22
3
PAE removal patch for testing
...; #include <sys/mman.h> -#include <sys/malloc.h> #include <vm/vm.h> #include <vm/vm_param.h> @@ -129,7 +96,6 @@ #include <sys/user.h> -#include <machine/cpu.h> #include <machine/cputypes.h> #include <machine/md_var.h> #include <machine/specialreg.h> @@ -162,16 +128,16 @@ * Get PDEs and PTEs for user/kernel address space */ #define pmap_pde(m, v) (&((m)->pm_pdir[(vm_offset_t)(v) >> PDRSHIFT])) -#define pdir_pde(m, v) (m[(vm_offset_t)(v) >> PDRSHIFT]) +#define pdir_pde(m, v) (m[(vm_offset_t)(v) >> PDRSHIFT])...