Displaying 12 results from an estimated 12 matches for "ilp32f".
Did you mean:
ilp32
2020 Apr 26
2
assembly code for array iteration generated by llvm is much slower than gcc
...sum += c[j * w2];
sum += c[j * w1];
}
dst_idx = w1 * i + w2;
dst_idx2 = w2 * i + w1;
b[dst_idx] = sum;
b[dst_idx2] = sum/2;
}
}
Compile command:
riscv32-unkown-elf-g++ -nostartfiles -nostdlib -O2 -march=rv32imf -mabi=ilp32f -fno-builtin -S perf.c -o perf.g++
clang++ -O2 –target=riscv32 -march=rv32img -mabi=ilp32f -nostdlib -fno-builtin -S perf.c -o perf.lang
the gcc version is 7.2.0
the llvm version is 10.0.0
Assembly code of the loop generated by gcc and llvm:
[cid:image002.jpg at 01D61BBF.0A4250B0]
Th...
2020 Jan 06
2
Encode target-abi into LLVM bitcode for LTO.
...ode target-abi into in target-feature (maybe it's not a good ideal
because mips reverted this approach
before. http://llvm.org/viewvc/llvm-project?view=revision&revision=227583)
5. users should pass target-abi themselves. (append
-Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
Is it a good idea to encode target-abi into bitcode?
If yes, is there another good approach to fix AsmBackend issue?
I’d appreciate any help or suggestions.
Thanks.
--
Best regards,
Kuan-Hsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.o...
2020 Jan 06
2
Encode target-abi into LLVM bitcode for LTO.
...not a good ideal
>> because mips reverted this approach
>> before. http://llvm.org/viewvc/llvm-project?view=revision&revision=227583
>> )
>>
>> 5. users should pass target-abi themselves. (append
>> -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
>>
>> Is it a good idea to encode target-abi into bitcode?
>> If yes, is there another good approach to fix AsmBackend issue?
>> I’d appreciate any help or suggestions.
>>
>> Thanks.
>>
>> --
>> Best regards,
>> Kuan-Hsu
>>
>>...
2020 Jan 07
2
Encode target-abi into LLVM bitcode for LTO.
...his approach
> before. http://llvm.org/viewvc/llvm-project?view=revision&revision=227583 <http://llvm.org/viewvc/llvm-project?view=revision&revision=227583>)
>
> 5. users should pass target-abi themselves. (append -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
>
> Is it a good idea to encode target-abi into bitcode?
> If yes, is there another good approach to fix AsmBackend issue?
> I’d appreciate any help or suggestions.
>
> Thanks.
>
> --
> Best regards,
> Kuan-Hsu
>
>
>
> ___________________________...
2020 Jan 07
2
Encode target-abi into LLVM bitcode for LTO.
...>> before. http://llvm.org/viewvc/llvm-project?view=revision&revision=227583 <http://llvm.org/viewvc/llvm-project?view=revision&revision=227583>)
>>
>> 5. users should pass target-abi themselves. (append -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
>>
>> Is it a good idea to encode target-abi into bitcode?
>> If yes, is there another good approach to fix AsmBackend issue?
>> I’d appreciate any help or suggestions.
>>
>> Thanks.
>>
>> --
>> Best regards,
>> Kuan-Hsu
>>...
2020 Jan 08
3
Encode target-abi into LLVM bitcode for LTO.
...gt;> before.
>>>>>> http://llvm.org/viewvc/llvm-project?view=revision&revision=227583)
>>>>>>
>>>>>> 5. users should pass target-abi themselves. (append
>>>>>> -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
>>>>>>
>>>>>> Is it a good idea to encode target-abi into bitcode?
>>>>>> If yes, is there another good approach to fix AsmBackend issue?
>>>>>> I’d appreciate any help or suggestions.
>>>>>>
>>>>...
2020 Jan 09
2
Encode target-abi into LLVM bitcode for LTO.
...>>>> http://llvm.org/viewvc/llvm-project?view=revision&revision=227583)
>>>>>>>>
>>>>>>>> 5. users should pass target-abi themselves. (append
>>>>>>>> -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
>>>>>>>>
>>>>>>>> Is it a good idea to encode target-abi into bitcode?
>>>>>>>> If yes, is there another good approach to fix AsmBackend issue?
>>>>>>>> I’d appreciate any help or suggestions.
>>&...
2020 Jan 10
2
Encode target-abi into LLVM bitcode for LTO.
...aybe it's not a good ideal because mips reverted this approach
>>> before. http://llvm.org/viewvc/llvm-project?view=revision&revision=227583)
>>>
>>> 5. users should pass target-abi themselves. (append -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
>>>
>>> Is it a good idea to encode target-abi into bitcode?
>>> If yes, is there another good approach to fix AsmBackend issue?
>>> I’d appreciate any help or suggestions.
>>>
>>> Thanks.
>>>
>>> --
>>> Best r...
2020 Jan 13
2
Encode target-abi into LLVM bitcode for LTO.
...reverted this approach
>> >>> before.
>> http://llvm.org/viewvc/llvm-project?view=revision&revision=227583)
>> >>>
>> >>> 5. users should pass target-abi themselves. (append
>> -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
>> >>>
>> >>> Is it a good idea to encode target-abi into bitcode?
>> >>> If yes, is there another good approach to fix AsmBackend issue?
>> >>> I’d appreciate any help or suggestions.
>> >>>
>> >>> Thanks.
&...
2020 Jan 15
2
Encode target-abi into LLVM bitcode for LTO.
...>>> before.
>>>> http://llvm.org/viewvc/llvm-project?view=revision&revision=227583)
>>>> >>>
>>>> >>> 5. users should pass target-abi themselves. (append
>>>> -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
>>>> >>>
>>>> >>> Is it a good idea to encode target-abi into bitcode?
>>>> >>> If yes, is there another good approach to fix AsmBackend issue?
>>>> >>> I’d appreciate any help or suggestions.
>>>> >...
2020 Jan 27
2
Encode target-abi into LLVM bitcode for LTO.
...mips reverted this approach
> > >>> before.
> http://llvm.org/viewvc/llvm-project?view=revision&revision=227583)
> > >>>
> > >>> 5. users should pass target-abi themselves. (append
> -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
> > >>>
> > >>> Is it a good idea to encode target-abi into bitcode?
> > >>> If yes, is there another good approach to fix AsmBackend issue?
> > >>> I’d appreciate any help or suggestions.
> > >>>
> > >>> Tha...
2020 Jan 27
2
Encode target-abi into LLVM bitcode for LTO.
...; > >>> before.
>>> http://llvm.org/viewvc/llvm-project?view=revision&revision=227583)
>>> > >>>
>>> > >>> 5. users should pass target-abi themselves. (append
>>> -Wl,-plugin-opt=-target-abi=ipl32f when compiling with -mabi=ilp32f)
>>> > >>>
>>> > >>> Is it a good idea to encode target-abi into bitcode?
>>> > >>> If yes, is there another good approach to fix AsmBackend issue?
>>> > >>> I’d appreciate any help or suggestions.
>>> >...