search for: mnemonic

Displaying 20 results from an estimated 255 matches for "mnemonic".

Did you mean: mnemonics
2011 Jun 23
1
[LLVMdev] llvm compilation of libc?
...lib\ 1.19.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -DMISSING_SYSCALL_NAMES -fno-builtin -DMISSING_SYSCALL_NAMES -fno-builtin -O2 -c -o lib_a-memcpy.o `test -f 'memcpy.S' || echo './'`memcpy.S /tmp/cc-qoxxpO.s:51:3: error: invalid instruction mnemonic 'movntiq' movntiq % rax, (% rdi) ^ /tmp/cc-qoxxpO.s:52:3: error: invalid instruction mnemonic 'movntiq' movntiq % r8 , 8 (% rdi) ^ /tmp/cc-qoxxpO.s:53:3: error: invalid instruction mnemonic 'movntiq' movntiq % r9 , 16 (% rdi) ^ /tmp/cc-qoxxpO.s:54:3: error: inval...
2011 Jan 18
4
[LLVMdev] Question about porting LLVM - a single instruction op mnemonic with multiple operand forms
Hello all, I am at the adding Instruction Set stage of adding new target support into LLVM. There is a single instruction op mnemonic with multiple operand forms. For example: Add R1, R2 & Add @R1, R2. I found that there is similar case in x86 instruction set, such like ADD reg, reg & ADD mem, reg. However, the solution of x86 is adding suffix of instruction and translating instruction op mnemonic into ADDrr & ADDmr....
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...-c /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:12:2: error: unknown directive .syntax unified ^ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:25:3: error: invalid instruction mnemonic 'eor' eor r1, r0, r0, ror #16 ^~~ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:26:15: error: unknown token in expression bic r1, r1, #0xff0000 ^ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:27:3: error: unknown use of...
2011 Jun 23
0
[LLVMdev] llvm compilation of libc?
I would recommend Newlib. It's easy to configure and compile using Clang. http://sourceware.org/newlib/ - xi On Jun 23, 2011, at 2:07 AM, Gregory Malecha wrote: > Hello, > > I'm wondering if anyone had any success (even a small amount) compiling any variant of libc to llvm bitcode? > > -- > gregory malecha > _______________________________________________ >
2001 Sep 03
1
(no subject)
.../../dlls -o ntdll.spec.c -spec ./ntdll.spec gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fno-strength-reduce -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_REENTRANT -o ntdll.spec.o ntdll.spec.c Assembler: ntdll.spec.c "/var/tmp/ccO4Q7TL.s", line 30 : Illegal mnemonic "/var/tmp/ccO4Q7TL.s", line 30 : Syntax error "/var/tmp/ccO4Q7TL.s", line 16935 : Syntax error "/var/tmp/ccO4Q7TL.s", line 17948 : Illegal mnemonic "/var/tmp/ccO4Q7TL.s", line 17948 : Syntax error "/var/tmp/ccO4Q7T...
2018 Dec 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
I am currently trying to compile a pretty simple program to work on an experimental board. It contains an (FPGA-version of) an ARMv4 processor. So basically, I try this (on my Ubuntu 18.04.1 LTS): clang -v --target=arm-none-eabi -c barehello.c -o barehelloCLANG.o clang -v --target=arm-none-eabi -c io.c -o io.o clang -v --target=arm-none-eabi barehelloCLANG.o io.o -o helloCLANGstatic -static
2011 Jun 23
3
[LLVMdev] llvm compilation of libc?
Hello, I'm wondering if anyone had any success (even a small amount) compiling any variant of libc to llvm bitcode? -- gregory malecha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110622/b5fad437/attachment.html>
2017 Feb 04
2
How to get assembly opcode mnemonic(s) corresponding to a MachineInstr?
...ntents within a MachineFunctionPass on the basis of how many CPU cycles the assembly instructions corresponding to the MBB take. I'm using the AVR backend and the number of CPU cycles every AVR assembly operation takes is openly available. Is there any straightforward way of getting the opcode mnemonics corresponding to a MachineInstr? I've gone through this thread (http://lists.llvm.org/pipermail/llvm-dev/2012-October/054818.html) and I understand I need to modify the AsmPrinter or InstPrinter in some way, but am not sure how. Thank you for your help! Radhika
2011 Jan 18
1
[LLVMdev] Question about porting LLVM - a single instruction op mnemonic with multiple operand forms
...ah > > > > *From:* llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] *On > Behalf Of *Lu Mitnick > *Sent:* Tuesday, January 18, 2011 10:29 AM > *To:* llvmdev at cs.uiuc.edu > *Subject:* [LLVMdev] Question about porting LLVM - a single instruction op > mnemonic with multiple operand forms > > > > Hello all, > > > > I am at the adding Instruction Set stage of adding new target support into > LLVM. There is a single instruction op mnemonic with multiple operand forms. > For example: Add R1, R2 & Add @R1, R2. I found that th...
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...compiler-rt/lib/builtins/arm/bswapsi2.S >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:12:2: error: unknown directive >> .syntax unified >> ^ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:25:3: error: invalid instruction mnemonic 'eor' >> eor r1, r0, r0, ror #16 >> ^~~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:26:15: error: unknown token in expression >> bic r1, r1, #0xff0000 >> ^ >> /home/llvm_all/llvm/projects/compiler-rt/lib...
2012 Oct 17
3
[LLVMdev] Hexagon Assembly parser question
Hi, I'm trying to enable the hexagon LLVM assembly parser. It seem like there is a lot of work that has been done to make this parsing straightforward. But.. Hexagon assembly does not follow the "Mnemonic Rx Rx ." format that is expected by the assembly parsing infrastructure, represented by: StringRef Mnemonic = ((ARMOperand*)Operands[0])->getToken(); This Mnemonic location assumption applies to both the Tablegen Backend AsmMatcherEmitter processing, and the .inc file it produces wher...
2011 Jan 18
0
[LLVMdev] Question about porting LLVM - a single instruction op mnemonic with multiple operand forms
...e pseudo instruction after instruction selection. Micah From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Lu Mitnick Sent: Tuesday, January 18, 2011 10:29 AM To: llvmdev at cs.uiuc.edu Subject: [LLVMdev] Question about porting LLVM - a single instruction op mnemonic with multiple operand forms Hello all, I am at the adding Instruction Set stage of adding new target support into LLVM. There is a single instruction op mnemonic with multiple operand forms. For example: Add R1, R2 & Add @R1, R2. I found that there is similar case in x86 instruction set, such...
2016 Jul 08
2
Dynamic selection of assembly mnemonic strings
Thanks for the quick answer Bruce. So far as I can tell (from a quick read), this is really for integrated assemblers/disassemblers - but we use an external assembler. When invoking clang we would provide ‘-mcpu=chip_v1’ or ‘-mcpu=chip_v2’, and the mnemonic ‘LD32’ is only valid when compiling for ‘chip_v1’, while ‘LD.32’ is only valid when compiling for ‘chip_v2’. But I will study the mnemonic aliasing carefully to see if it does provide what I need. All the best, MartinO From: bruce.hoult at gmail.com [mailto:bruce.hoult at g...
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...compiler-rt/lib/builtins/arm/bswapsi2.S >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:12:2: error: unknown directive >> .syntax unified >> ^ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:25:3: error: invalid instruction mnemonic 'eor' >> eor r1, r0, r0, ror #16 >> ^~~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:26:15: error: unknown token in expression >> bic r1, r1, #0xff0000 >> ^ >> /home/llvm_all/llvm/projects/compiler-rt/lib...
2012 Oct 17
0
[LLVMdev] Hexagon Assembly parser question
..., 2012, at 3:29 PM, David Young <davidy at codeaurora.org> wrote: > Hi, > I’m trying to enable the hexagon LLVM assembly parser. It seem like there is a lot of work that has been done to make this parsing straightforward. > > But…. > Hexagon assembly does not follow the “Mnemonic Rx Rx …” format that is expected by the assembly parsing infrastructure, represented by: > StringRef Mnemonic = ((ARMOperand*)Operands[0])->getToken(); > > This Mnemonic location assumption applies to both the Tablegen Backend AsmMatcherEmitter processing, and the .inc file it produc...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...mpiler-rt/lib/builtins/arm/bswapsi2.S > > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:12:2: error: unknown directive > > .syntax unified > > ^ > > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:25:3: error: invalid instruction mnemonic 'eor' > > eor r1, r0, r0, ror #16 > > ^~~ > > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:26:15: error: unknown token in expression > > bic r1, r1, #0xff0000 > > ^ > > /home/llvm_all/llvm/projects/compiler-rt/l...
2015 Nov 26
2
Accessing TableGen defined variable in the cpp code
Hello all, I would like to assign some bits in the instructions, based on the order of mnemonics that appear in a special order. I can do it in TableGen itself, but it will not be well maintainable based on the things I want to accomplish. Therefor, I would like to do it in the c++ file which is waaay easier (at least in the concept!!). Imagine I have this in my base class in TableGen: *b...
2016 Jul 08
2
Dynamic selection of assembly mnemonic strings
Hi LLVM Dev, I have an old problem that I've wanted to clean-up for some time. Our chip has gone through a number of iterations in the past few years, but with each revision there have been changes to some of the mnemonics for instructions. These are mostly very simple, for example we had a 32-bit load from memory instruction named 'LD32' in one version of the chip, but for a later version this was changed to 'LD.32'. The semantics and schedule remained the same, but in the TD file I had to intro...
2012 May 22
2
[LLVMdev] Match operands
I'm trying to implement the standalone assembler for mips and I have encountered a problem in instruction operands matcher. In mips instruction set there are math instructions with two format flags in the mnemonic, one for source and one for destination register. For example ceil.w.s means both source and destination are F32 registers while ceil.l.d means both source and destination are F64 registers. Also, depending on the floating point unit configuration F64 may be either single 64 bit register or a pair...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...2.S > >>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:12:2: error: unknown directive > >>> .syntax unified > >>> ^ > >>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:25:3: error: invalid instruction mnemonic 'eor' > >>> eor r1, r0, r0, ror #16 > >>> ^~~ > >>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/bswapsi2.S:26:15: error: unknown token in expression > >>> bic r1, r1, #0xff0000 > >>> ^ > &gt...