Displaying 20 results from an estimated 1000 matches similar to: "Bug or incorrect use of inline asm?"
2017 Aug 04
2
Bug or incorrect use of inline asm?
On Thu, Aug 3, 2017 at 6:19 PM, Tim Northover <t.p.northover at gmail.com>
wrote:
> 2017-08-03 8:58 GMT-07:00 Johan Engelen via llvm-dev <
> llvm-dev at lists.llvm.org>:
> > The error is gone after removing (or reducing) the alignment of `%a`.
> This
> > makes me believe that our inline asm syntax is correct to add an offset
> to a
> > pointer: "
2017 Sep 18
2
[ThinLTO] static library failure with object files with the same name
It is expected and not unusual to need to update the lit test in such case.
I'd need to see exactly which test breaks and how to know though.
Best,
--
Mehdi
2017-09-18 13:17 GMT-07:00 Johan Engelen <jbc.engelen at gmail.com>:
> The fix (https://reviews.llvm.org/D37961) does not work. From what I
> have learned thusfar, the module identifier is used as filename sometimes
>
2014 Sep 04
2
[LLVMdev] Please benchmark new x86 vector shuffle lowering, planning to make it the default very soon!
Greetings all,
As you may have noticed, there is a new vector shuffle lowering path in the
X86 backend. You can try it out with the
'-x86-experimental-vector-shuffle-lowering' flag to llc, or '-mllvm
-x86-experimental-vector-shuffle-lowering' to clang. Please test it out!
There may be some correctness bugs, I'm still fuzz testing it to shake them
out. But I expect fairly few
2017 Sep 17
2
[ThinLTO] static library failure with object files with the same name
I've created a review for your patch Mehdi: https://reviews.llvm.org/D37961
First time using `arc`, so hope things went well.
- Johan
On Tue, Sep 12, 2017 at 5:25 AM, Mehdi AMINI <joker.eph at gmail.com> wrote:
> Hi Johan,
>
> 2017-09-11 14:21 GMT-07:00 Johan Engelen <jbc.engelen at gmail.com>:
>
>> On Fri, Sep 8, 2017 at 9:04 PM, Johan Engelen
2014 Sep 05
3
[LLVMdev] Please benchmark new x86 vector shuffle lowering, planning to make it the default very soon!
On Fri, Sep 5, 2014 at 9:32 AM, Robert Lougher <rob.lougher at gmail.com>
wrote:
> Unfortunately, another team, while doing internal testing has seen the
> new path generating illegal insertps masks. A sample here:
>
> vinsertps $256, %xmm0, %xmm13, %xmm4 # xmm4 = xmm0[0],xmm13[1,2,3]
> vinsertps $256, %xmm1, %xmm0, %xmm6 # xmm6 = xmm1[0],xmm0[1,2,3]
>
2016 Oct 03
3
ThinLTO: module-scope inline assembly blocks
With `save-temps` as plugin option, I get extra files for the MAIN module
(called `a.o`): `a.o.opt.bc` and `a.thinlto.bc`.
The `a.thinlto.bc` file contains nothing, only `source_filename = ...` .
The `a.o.opt.bc` (this looks like the result after ThinLTO importing and
optimization) contains the assembly block that it should not have:
```
module asm "\09.text"
module asm
2017 Sep 18
0
[ThinLTO] static library failure with object files with the same name
The fix (https://reviews.llvm.org/D37961) does not work. From what I have
learned thusfar, the module identifier is used as filename sometimes (I
think when writing an intermediate module index summary), and so a bunch of
lit tests fail with the "fix".
I'll look further into fixing this, any help is appreciated.
( One thing that may be important is to have a deterministic suffix.
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
The plugin version (and LLVM) are LLVM 3.9.0 (the release source tarball).
I've attached the source files and the temporary files generated.
`a.o` is the "MAIN" module.
`b.o` is the "ASM" module.
The error I get is:
/usr/bin/ld: error: a.o.thinlto.o: multiple definition of 'foo'
/usr/bin/ld: b.o.thinlto.o: previous definition here
(the files depend on D runtime
2015 Dec 21
2
MSVC warning noise on "LLVM_ATTRIBUTE_ALWAYS_INLINE inline void foo()"
On Mon, Dec 21, 2015 at 12:08 AM, Aaron Ballman <aaron at aaronballman.com>
wrote:
> On Sun, Dec 20, 2015 at 5:57 PM, Johan Engelen <jbc.engelen at gmail.com>
> wrote:
> >
> > Perhaps LLVM_ATTRIBUTE_ALWAYS_INLINE could be defined to "inline" if the
> > compiler has no support for always_inline (currently it is set to
> nothing in
> > that
2019 Oct 31
3
llvm-config --cxxflags should report C++ language standard version
On Thu, Oct 31, 2019 at 3:46 AM Saleem Abdulrasool <compnerd at compnerd.org>
wrote:
> On Wed, Oct 30, 2019 at 4:17 PM Johan Engelen <jbc.engelen at gmail.com>
> wrote:
>
>> Hi all,
>> Since 2724d9e12960cc1d93eeabbfc9aa1bffffa041cc, llvm-config -cxxflags
>> no longer reports the C++ language standard version (e.g. "-std=c++14")
>> used to
2016 Mar 15
2
LLVM.org/viewvc down?
Is there any eta for when viewvc will be back? I prefer to use viewvc because all of the commit emails have the SVN commit number, but not the corresponding git hashes, so it makes it easier to look it up. Or is there some easy way to map an svn commit number to the corresponding git hash?
Douglas Yung
From: Johan Engelen [mailto:jbc.engelen at gmail.com]
Sent: Saturday, March 12, 2016 5:03 AM
2012 Jul 06
2
[LLVMdev] Excessive register spilling in large automatically generated functions, such as is found in FFTW
On Fri, Jul 6, 2012 at 6:39 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
>
> On Jul 5, 2012, at 9:06 PM, Anthony Blake <amb33 at cs.waikato.ac.nz> wrote:
>
>> I've noticed that LLVM tends to generate suboptimal code and spill an
>> excessive amount of registers in large functions, such as in those
>> that are automatically generated by FFTW.
>
2012 Jul 06
0
[LLVMdev] Excessive register spilling in large automatically generated functions, such as is found in FFTW
On Sat, Jul 7, 2012 at 12:25 AM, Anthony Blake <amb33 at cs.waikato.ac.nz> wrote:
> On Fri, Jul 6, 2012 at 6:39 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
>> On Jul 5, 2012, at 9:06 PM, Anthony Blake <amb33 at cs.waikato.ac.nz> wrote:
>>> [...]
>>> movaps 32(%rdi), %xmm3
>>> movaps 48(%rdi), %xmm2
>>>
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
On Mon, Oct 3, 2016 at 4:27 PM, Teresa Johnson <tejohnson at google.com> wrote:
>
>
> On Mon, Oct 3, 2016 at 6:53 AM, Johan Engelen via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi all,
>> I am trying to add ThinLTO to the LDC compiler. It seems to work well
>> on Mac (XCode 8) and Ubuntu (ld.gold + LLVMgold plugin).
>> However, I am
2017 Sep 11
2
[ThinLTO] static library failure with object files with the same name
On Fri, Sep 8, 2017 at 9:04 PM, Johan Engelen <jbc.engelen at gmail.com> wrote:
>
> On Thu, Sep 7, 2017 at 5:44 PM, Mehdi AMINI <joker.eph at gmail.com> wrote:
>
>> Hi Johan,
>>
>> ld64 only calls functions from llvm/include/llvm-c/lto.h (defined
>> in llvm/tools/lto/lto.cpp)
>>
>> For instance ThinLTOCodeGenerator::addModule is called
2016 Feb 27
2
LLVM.org/viewvc down?
It's currently disabled until the issues with llvm.org load would be
resolved. Use klaus instead.
On Sat, Feb 27, 2016 at 6:53 AM, Yung, Douglas via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hi,
>
>
>
> I’ve noticed since about Thursday that llvm.org/viewvc seems to be only
> returning 404 error when trying to access it. Is this service going away?
>
>
>
2013 Jul 19
4
[LLVMdev] SIMD instructions and memory alignment on X86
Hmm, I'm not able to get those .ll files to compile if I disable SSE and I
end up with SSE instructions(including sqrtpd) if I don't disable it.
On Thu, Jul 18, 2013 at 10:53 PM, Peter Newman <peter at uformia.com> wrote:
> Is there something specifically required to enable SSE? If it's not
> detected as available (based from the target triple?) then I don't think
2014 Sep 05
2
[LLVMdev] Please benchmark new x86 vector shuffle lowering, planning to make it the default very soon!
Hi Chandler,
While doing the performance measurement on a Ivy Bridge, I ran into compile time errors.
I saw a bunch of “cannot select" in the LLVM test suite with -march=core-avx-i.
E.g., SingleSource/UnitTests/Vector/SSE/sse.isamax.c is failing at O3 -march=core-avx-i with:
fatal error: error in backend: Cannot select: 0x7f91b99a6420: v4i32 = bitcast 0x7f91b99b0e10 [ORD=3] [ID=27]
2014 Sep 06
2
[LLVMdev] Please benchmark new x86 vector shuffle lowering, planning to make it the default very soon!
I've run the SingleSource test suite for core-avx-i and have no failures
here so a preprocessed file + commandline would be very useful if this
reproduces for you still.
On Sat, Sep 6, 2014 at 4:07 PM, Chandler Carruth <chandlerc at gmail.com>
wrote:
> I'm having trouble reproducing this. I'm trying to get LNT to actually
> run, but manually compiling the given source
2010 Nov 03
1
[LLVMdev] LLVM x86 Code Generator discards Instruction-level Parallelism
Dear LLVMdev,
I've noticed an unusual behavior of the LLVM x86 code generator (with default options)
that results in nearly a 4x slow-down in floating-point throughput for my microbenchmark.
I've written a compute-intensive microbenchmark to approach theoretical peak
throughput of the target processor by issuing a large number of independent
floating-point multiplies. The distance