Displaying 10 results from an estimated 10 matches for "mips2".
Did you mean:
mips
2015 Jun 16
2
[LLVMdev] How to pick default floating point ABI?
...I'm working
> towards. The main problem is that a lot of the internals of the Mips
> LLVM backend derive their behaviour from the target CPU rather than
> the target ABI. In theory, the combination of mips3 and O32 is valid
> and should generate code pretty much the same way as mips2 and O32
> does. In the current implementation, the fact that mips3 has 64-bit
> GPR's tells a lot of the code generator to use 64-bit instructions and
> selects other behaviour that is correct for the N32/N64 ABI's but not
> for O32. For this (and many other) reasons, there&...
2015 Jun 16
2
[LLVMdev] How to pick default floating point ABI?
On 06/16/2015 06:21 PM, Daniel Sanders wrote:
>
> > > the best I can suggest is to target mips2 and O32
>
> > > It's not work for all, still get Assembler messages error on some
> source files
> >
>
> > Warning: float register should be even, was 7
>
> Could you add –save-temps to the compiler command and send me the
> command along with the .i and...
2015 Jun 11
2
[LLVMdev] How to pick default floating point ABI?
Hello,
I'm using clang on x86 cross build for mips, here is my main configure
parameters
llvm/configure \
--prefix=/usr \
--target=mipsel-unknown-linux-gnu \
--enable-targets=mips \
--enable-optimized \
--enable-shared \
--disable-assertions
I want to build code for *mips3* with *o32* abi, but
2011 Jul 11
0
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
...-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 (little-endian)l, which can run on simplescalar 3.0
> sslittle-na-sstrix pla...
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
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
2011 Jul 15
2
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
...-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 (little-endian)l, which can run on simplescalar 3...
2018 Sep 06
3
How to add Loongson ISA for Mips target?
Hi LLVM developers,
GCC[1] is able to use Loongson ISA[2] for instruction selection:
$ cat hello.c
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello World\n");
return 0;
}
$ gcc -O0 -S hello.c
$ cat hello.s
.file 1 "hello.c"
.section .mdebug.abi64
.previous
.nan legacy
.gnu_attribute 4, 1
.abicalls
2018 Sep 06
2
How to add Loongson ISA for Mips target?
...", ...> 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
> *.td fil...
2019 Nov 14
4
Understanding targets
...targets? I have no idea and this is why I’m asking.
Now Clang accepts the following MIPS CPU names. This list can be found in the "clang/lib/Basic/Targets/Mips.cpp". mips1 and mips5 accepted by Clang, but unsupported by code generator. I'm going to remove them from this list.
mips1, mips2, mips3, mips4, mips5,
mips32, mips32r2, mips32r3, mips32r5, mips32r6, mips64, mips64r2, mips64r3, mips64r5, mips64r6, octeon, octeon+, p5600
R3000 is a CPU implements mips1 instruction set architecture.
Unfortunately you cannot generate a code for this CPU using Clang.
--
Simon Atanasyan
Als GmbH...