Displaying 13 results from an estimated 13 matches for "nomicromip".
Did you mean:
nomicromips
2012 Jun 12
1
[LLVMdev] Mips nomicromips?
...brary
(http://www.etalabs.net/musl/) for my ELLCC (http://ellcc.org) cross compiler
project. During my musl feasability study I made a Mips port of musl. A day or
two ago, just to make things interesting, I updated to the LLVM TOT (r158294).
I started getting assembler warnings about ".set nomicromips".
I'm running a fairly recent binutils (2.21.1).
My questions are:
1. Does the code generator really need to output ".set nomicromips"?
2. Does a more recent version of binutils understand it?
-Rich
2014 Feb 04
2
[LLVMdev] emitting function stub for mips16 floating point patch
How is alignment set?
On 02/04/2014 08:48 AM, Rafael Espíndola wrote:
> On 31 January 2014 18:59, reed kotler <rkotler at mips.com> wrote:
>> I'm rewriting this patch for the stubs to not use outputing of raw text.
>>
>> Generating the instructions is very straightforward and that part is done.
> awesome!
>
>> I'm translating the actual function
2014 Feb 04
2
[LLVMdev] emitting function stub for mips16 floating point patch
...'\.align'").
>
> Cheers,
> Rafael
Not on a symbol but in a section to set the current value.
I have not found it so far but am looking where this can be in
AsmPrinter or MC.
I have these statements left to translate.
Most we already discussed.
.align 2
the .nomips16 and .nomicromips we have it in mipsTargetStreamer (which
to me seems
little different from emit raw text).
I think you mentioned already how to do the .size
OutStreamer.EmitRawText(".align 2");
OutStreamer.EmitRawText(".nomips16");
OutStreamer.EmitRawText(".nomicromips");...
2018 Sep 06
3
How to add Loongson ISA for Mips target?
....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,32($sp)
sd $28,24...
2014 Jan 31
5
[LLVMdev] emitting function stub for mips16 floating point patch
...(" + Twine(Parms) + ")");
OutStreamer.EmitRawText("\t.section\t.mips16.call.fp"+Twine(Symbol)+",\"ax\", at progbits");
OutStreamer.EmitRawText(".align 2");
OutStreamer.EmitRawText(".nomips16");
OutStreamer.EmitRawText(".nomicromips");
OutStreamer.EmitRawText("\t.ent\t__call_stub_fp_" + Twine(Symbol));
OutStreamer.EmitRawText("\t.type\t__call_stub_fp_" + Twine(Symbol) +
", @function");
OutStreamer.EmitRawText("\t__call_stub_fp_" + Twine(Symbol) + ":");
OutStr...
2018 Sep 06
2
How to add Loongson ISA for Mips target?
...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
>>...
2013 Apr 25
1
[LLVMdev] issues with InlineAsm class and #APP/#NOAPP
...ssed in registers include float, double,
_Complex float and _Complex double.
Parameter signatures of the form below need to be remapped:
float
double
float, double
float, float
double, double
double, float
.section .mips16.call.fp.fpff,"ax", at progbits
.align 2
.set nomips16
.set nomicromips
.ent __call_stub_fp_fpff
.type __call_stub_fp_fpff, @function
__call_stub_fp_fpff:
mtc1 $4,$f12
move $18,$31
jal fpff
mfc1 $2,$f0
jr $18
.size __call_stub_fp_fpff, .-__call_stub_fp_fpff
.end __call_stub_fp_fpff
On 04/24/2013 04:25 PM, Rafael Espíndola wrote:
>> We also wanted the...
2014 Jan 29
3
[LLVMdev] making emitInlineAsm protected
On 01/28/2014 06:29 PM, Eric Christopher wrote:
> Uhhhh...
>
> -eric
>
> On Tue, Jan 28, 2014 at 4:56 PM, reed kotler <rkotler at mips.com> wrote:
>> I would like to make the following member of AsmPrinter be protected
>>
>>
>> void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0,
>> InlineAsm::AsmDialect
2012 Jun 13
0
[LLVMdev] mips16 patch8
disable use of directive .set nomicromips
until this directive is pushed in gas to open source fsf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mips16_patch8
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120612/ba0fb507/attachment.ksh>
2013 Apr 19
0
[LLVMdev] funny llvm bug
...came about in trying to implement some stubs used by gcc mips16 for
allowing floating point interoperability with mips32.
You get the following looking code from gcc -mips16:
# Stub function for foovf (float)
.section .mips16.fn.foovf,"ax", at progbits
.align 2
.set nomips16
.set nomicromips
.ent __fn_stub_foovf
.type __fn_stub_foovf, @function
__fn_stub_foovf:
la $25,foovf
mfc1 $4,$f12
jr $25
.end __fn_stub_foovf
.text
$__fn_local_foovf = foovf
Not being sure about the restriction of section to just "name", well
docs can be wrong and not match the code, I Googled...
2013 Apr 19
3
[LLVMdev] funny llvm bug
> It is exactly intended to handle section names as what they are --
> section names. The only reason it works with GCC is because it writes an
> assembler stream.
+1
Reed, this fails in gcc if you do LTO, no?
> Joerg
Cheers,
Rafael
2013 Apr 24
0
[LLVMdev] issues with InlineAsm class and #APP/#NOAPP
> We also wanted the stubs to be real functions to llvm. That allows them to
> participate properly
> in optimization of various levels (including LTO). They can even be inlined.
> There are other
> planned optimizations that would not work if they were not legitimate
> functions.
I am not saying that the functions should not exist in the IL, just
that they should not be inline
2013 Apr 24
3
[LLVMdev] issues with InlineAsm class and #APP/#NOAPP
On 04/24/2013 03:47 PM, Rafael Espíndola wrote:
> On 24 April 2013 18:30, reed kotler <rkotler at mips.com> wrote:
>> There are a lot of issues.
>>
>> For one, the function I'm compiling is a mips16 function but the stubs being
>> created are mips32 functions.
>>
> This looks similar to thumb x 32 bit arm. Wouldn't a similar solution
> work for