Android/ARM codegen
Dan Olson via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Thu Jul 16 17:07:13 PDT 2015
On Thursday, 16 July 2015 at 17:07:33 UTC, Joakim wrote:
> On Thursday, 16 July 2015 at 16:40:31 UTC, Dan Olson wrote:
>> [...]
>
> llvm triple and other flags used:
>
> --output-o -w -d -mtriple=armv7-none-linux-androideabi
> -relocation-model=pic -O3 -release -unittest
>
> ldc was compiled against a locally-compiled llvm 3.6 from the
> Android NDK repo, which has some modifications:
>
> https://android.googlesource.com/toolchain/llvm/+log/release_36
>
> Yes, I'm using the merge-2.067 branch of ldc as of commit
> 122ea372d from a couple weeks ago, with inlining turned off, as
> noted in the earlier EH thread. I would be curious to see what
> llvm IR and ARM assembly is generated for you on iOS and what
> other flags you're using. The actual function shown is from
> the std.random module.
And the nice thing about LLVM / LDC is that I can specify your
triple and other options with one compiler. I love that about
LLVM: all cross compilers in one.
More information about the digitalmars-d-ldc
mailing list