Displaying 13 results from an estimated 13 matches for "mips1".
Did you mean:
mips
2013 Apr 26
2
[LLVMdev] LLVM3.2 Backend for mips1 subtarget
Hi Everybody,
I'm working a project which requires assembly code for mips1 architecture
for simulation purpose. I checked the latest LLVM3.2 version and found that
the backend has been removed. I tried to replace the MIPS backed in LLVM3.2
by the old one in LLVM2.9 (which contains mips1) and adjust some routines
to get the backend compiled. However, when llc is used to ge...
2013 Apr 26
0
[LLVMdev] LLVM3.2 Backend for mips1 subtarget
If you want to create a version for the mips1 subtarget, going back in
time will probably be a lot of work for you.
If you want to modify the current version you might try the following:
1) Create a Mips1 predicate and use that to disable instruction patterns
that match using non Mips1 instructions.
2) Use soft-float
3) You would need to re...
2013 Apr 26
2
[LLVMdev] LLVM3.2 Backend for mips1 subtarget
My guess is he wants mips1 so that he doesn't have to worry about the
patented mips instructions?
At any rate, it will be a bit of work to enable a mips1 target and I
doubt many people are interested, so it'll definitely be up to him to
do the work.
-eric
On Fri, Apr 26, 2013 at 10:15 AM, Reed Kotler <rkotler a...
2019 Nov 13
3
Understanding targets
The term "target" is somewhat overloaded.
When llvm-config tells you it was built with the X86 target, that actually includes a variety of closely related architectures, such as x86_64, i386, and so on. Within the x86_64 architecture, there are many individual processor implementations that LLVM understands, such as Skylake, Bulldozer, and many many more.
What *clang* means by
2019 Nov 14
4
Understanding targets
Hello Paul and Simon, (Sorry - I'm not sure about the social conventions in mailing lists)
Both of your answers helped me a lot! So If I understand it correctly, Clang knows what 'mips1' and 'mips5' are - but can't generate code for it? Why is it like that?
I actually have a more in general questions about processors... If this is the wrong place for it, please ignore it, I'm just a bit confused.
So the R3000 is a "MIPS CPU"? What does that actually...
2015 Sep 27
2
[libunwind][Mips] Problem using gas to assemble UnwindRegistersSave.S
...inutils Mips assembler.
This is the message I get:
"/home/rich/ellcc/bin/mips-elf-as" -o
/tmp/UnwindRegistersSave-a2c974.o -EL /tmp/UnwindRegistersSave-545450.s
src/UnwindRegistersSave.S: Assembler messages:
src/UnwindRegistersSave.S:99: Error: opcode not supported on this
processor: mips1 (mips1) `teq $0,$0'
If I compile with -integrated-as it assembles as expected.
I was able to get it to work without the integrated assembler with this
change:
#
# extern int unw_getcontext(unw_context_t* thread_state)
#
# Just trap for the time being.
DEFINE_LIBUNWIND_FUNCTION(unw_getcont...
2011 Jul 11
0
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
...; with "mipsel".
1. clang -ccc-host-triple mipsel-unknown-linux -ccc-clang-archs mipsel -O3
-S -emit-llvm foo.c -o foo.ll
2. llc -march=mipsel -mcpu=4ke foo.ll -o foo.s (the -march option is
redundant)
If you do not specify the target cpu with -mcpu, by default it will generate
code for Mips1, which has not been tested as thoroughly as Mips32r2
(-mcpu=4ke) or Mips2 (-mcpu=mips2).
The default ABI is o32.
On Sat, Jul 9, 2011 at 8:32 AM, Gang-Ryung Uh <guh at boisestate.edu> wrote:
> We are trying to use LLVM (Clang as the C frontend) to generate code for
> 32-bit MIPS (litt...
2011 Jul 09
2
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
We are trying to use LLVM (Clang as the C frontend) to generate code for
32-bit MIPS (little-endian)l, which can run on simplescalar 3.0
sslittle-na-sstrix platform. Can you advise what would be the right way to
use the LLVM compiler infrastructure?
The following is the one I used, but it appears that it produce the code in
big-endian (and I wonder whether the calling convention is right.) To
2018 Sep 06
3
How to add Loongson ISA for Mips target?
...lo.c
$ cat hello.s
.file 1 "hello.c"
.section .mdebug.abi64
.previous
.nan legacy
.gnu_attribute 4, 1
.abicalls
.rdata
.align 3
.LC0:
.ascii "Hello World\000"
.text
.align 2
.globl main
.set nomips16
.set nomicromips
.ent main
.type main, @function
main:
.frame $fp,48,$31 # vars= 16, regs= 3/0, args= 0, gp= 0
.mask 0xd0000000,-8
.fmask 0x00000000,0
.set noreorder
.set nomacro
daddiu $sp,$sp,-48
gssq $31,$fp,...
2018 Sep 06
2
How to add Loongson ISA for Mips target?
...;octeon", ...> record are good examples that show how Cavium's extensions to the MIPS ISA were included.
> On 6 Sep 2018, at 04:01, Simon Atanasyan via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi,
>
> LLVM MIPS backend now supports different MIPS ISA like mips1, mips2,
> mips3, mips32, mips32r6 etc. If Loongson ISA just add a few new
> instructions I think you do not have to add a new subtarget. Take a
> look at MipsInstrInfo.td file. In that file there are multiple
> ISA_MIPSxxx classes. Take for example ISA_MIPS3 and search it through
> *...
2009 Jul 27
0
[LLVMdev] Current status of MIPS support (some basic questions)
On Mon, Jul 27, 2009 at 8:56 AM, Carter Cheng<carter_cheng at yahoo.com> wrote:
> Is there also an option to compile w/ clang on an x86 for Mipsel?
A normal build of clang includes limited cross-compile support by
passing in the "-ccc-host-triple" option, although it's still a bit of
a work-in-progress. Nobody has added support for any Mips targets,
but it's really
2009 Jul 27
3
[LLVMdev] Current status of MIPS support (some basic questions)
I am curious- what is the current status of the MIPS support in LLVM? I have a mipsel device and was wondering if I could compile code for it with clang.
Would I have to implement a backend setup myself?
Is there also an option to compile w/ clang on an x86 for Mipsel?
Thanks in advance.
2011 Jul 15
2
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
.... clang -ccc-host-triple mipsel-unknown-linux -ccc-clang-archs mipsel -O3
> -S -emit-llvm foo.c -o foo.ll
> 2. llc -march=mipsel -mcpu=4ke foo.ll -o foo.s (the -march option is
> redundant)
>
> If you do not specify the target cpu with -mcpu, by default it will
> generate code for Mips1, which has not been tested as thoroughly as Mips32r2
> (-mcpu=4ke) or Mips2 (-mcpu=mips2).
>
> The default ABI is o32.
>
> On Sat, Jul 9, 2011 at 8:32 AM, Gang-Ryung Uh <guh at boisestate.edu> wrote:
>
>> We are trying to use LLVM (Clang as the C frontend) to generate...