search for: t2mrssys

Displaying 4 results from an estimated 4 matches for "t2mrssys".

2011 Aug 29
0
[LLVMdev] cortex-m{3,4} special registers
Hi Kurt, The assembly parser doesn't (yet) handle these, you're right. Currently, the MRS instruction is split into two variants in the ARMInstrThumb2.td file, t2MRS and t2MRSsys, one for the user mode version reading cpsr and one for the system mode version reading spsr. MSR, by contrast, has a custom parse method for the mask operand since it's a bit more complex than an either/or. You'll likely want to merge the two MRS variants into one and add an operand for t...
2011 Aug 30
2
[LLVMdev] cortex-m{3,4} special registers
...t; Cc: llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] cortex-m{3,4} special registers > > Hi Kurt, > > The assembly parser doesn't (yet) handle these, you're right. Currently, > the MRS instruction is split into two variants in the ARMInstrThumb2.td > file, t2MRS and t2MRSsys, one for the user mode version reading cpsr and > one for the system mode version reading spsr. MSR, by contrast, has a > custom parse method for the mask operand since it's a bit more complex than > an either/or. > > You'll likely want to merge the two MRS variants into one...
2011 Aug 28
2
[LLVMdev] cortex-m{3,4} special registers
I was attempting to compile some code with a recent (r138716) version of llvm/clang, targeting a cortex-m4 processor. And I get an error like this: CC: sched_garbage.c In file included from sched_garbage.c:43: In file included from ./os_internal.h:48: In file included from /p/nuttx/trunk/nuttx/include/sched.h:47: In file included from /p/nuttx/trunk/nuttx/include/nuttx/sched.h:54: In file
2011 Aug 31
0
[LLVMdev] cortex-m{3,4} special registers
...> Subject: Re: [LLVMdev] cortex-m{3,4} special registers > > > > Hi Kurt, > > > > The assembly parser doesn't (yet) handle these, you're right. Currently, > > the MRS instruction is split into two variants in the ARMInstrThumb2.td > > file, t2MRS and t2MRSsys, one for the user mode version reading cpsr and > > one for the system mode version reading spsr. MSR, by contrast, has a > > custom parse method for the mask operand since it's a bit more complex than > > an either/or. > > > > You'll likely want to merge the...