Displaying 5 results from an estimated 5 matches for "sparctargetmachine".
2010 May 06
1
[LLVMdev] Failure to compile llvm-gcc-4.2-2.7 on FreeBSD on sparc machine
Anton Korobeynikov wrote:
> The patch is incorrect and the problems you're seeing are caused by
> your patch, since sparc != sparc64.
> In LLVM sense "sparc" means "sparc with ILP32 architecture model",
> llvm does not support anything 64 bit in sparc world
SparcTargetMachine.h file lists SparcV9TargetMachine as 64-bit machine
and SparcV8TargetMachine as 32-bit machine.
And SparcInstrInfo.td seems to contain some of the V9-only instructions.
Are you sure 64-bit sparc isn't supported at all?
Yuri
2010 May 06
0
[LLVMdev] Failure to compile llvm-gcc-4.2-2.7 on FreeBSD on sparc machine
Hello
> I applied the attached patch, since the name of architecture on FreeBSD is
> sparc64, not sparc. There is also one more replacement sparc -> spaarc64 was
> made in gcc/Makefile in llvm-gcc.
The patch is incorrect and the problems you're seeing are caused by
your patch, since sparc != sparc64.
In LLVM sense "sparc" means "sparc with ILP32 architecture
2012 Mar 14
2
[LLVMdev] How to set constant pool section?
Hi,
In the document: http://llvm.org/docs/WritingAnLLVMBackend.html
described example like:
SparcTargetAsmInfo::SparcTargetAsmInfo(const SparcTargetMachine &TM) {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
Data64bitsDirective = 0; // .xword is only supported by V9.
ZeroDirective = "\t.skip\t";
CommentString = "!";
ConstantPoolSection = "\t.section \".rodata\&...
2010 May 06
3
[LLVMdev] Failure to compile llvm-gcc-4.2-2.7 on FreeBSD on sparc machine
llvm itself compiles fine.
gcc frontend has the error, see below.
I applied the attached patch, since the name of architecture on FreeBSD
is sparc64, not sparc. There is also one more replacement sparc ->
spaarc64 was made in gcc/Makefile in llvm-gcc.
FreeBSD -8.0-STABLE
gcc-4.5.0
sunblade 100
Yuri
gmake[2]: Leaving directory
`/tmp/llvm-build/2.7/llvm-gcc-4.2-objects/libdecnumber'
2013 Apr 24
3
[LLVMdev] [PROPOSAL] per-function optimization level control
...ethods exposed by the TargetPassConfig interface.
Unfortunately changing how code generator passes are added to pass
managers
require that we potentially make changes on target specific parts of the
backend.
Examples:
file "Target/X86/X86TargetMachine.cpp";
file "Target/Sparc/SparcTargetMachine.cpp";
file "Target/PowerPC/PPCTargetMachine.cpp" etc.
In general, changes are required in every place in the backend where
decisions
are made based on the optimization level.
More specifically, changes are required in the following components:
1. Instruction Selector:
-- U...