[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/20] Hexagon HVX (target/hexagon) README
From: |
Rob Landley |
Subject: |
Re: [PATCH 01/20] Hexagon HVX (target/hexagon) README |
Date: |
Wed, 28 Jul 2021 03:11:09 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/26/21 8:59 AM, Taylor Simpson wrote:
>> Anyway, I still hope somebody else has already done most of this in a git
>> tree somewhere. :)
>
> We're working on system mode support for Hexagon, and we plan to upstream it
> when it is ready.
Yay! Thanks.
While you're at it, why is llvm's cmake config unable to do:
$ cccnext/cross_bin/hexagon-unknown-linux-musl-cc \
-Xpreprocessor -P -E - <<< __SIZEOF_POINTER__
4
I'm trying to genericize that llvm build script to do all the targets musl and
llvm agree on supporting, which means not passing in -DCMAKE_SIZEOF_VOID_P=4
because the compiler ALREADY KNOWS THIS... but cmake/config-ix.cmake line 196 is
REALLY going to barf if we didn't explicitly specify it on the command line? Are
the llvm developers not _aware_ of the "cc -E -dM - < /dev/null" trick? Even if
they aren't, why couldn't they just sizeof(void *) in a header file?
*shrug* I can do the above trick in the wrapper script and then provide
-DCMAKE_SIZEOF_VOID_P=$BLAH on the command line, it just seems DEEPLY pointless
to go to all the trouble of having a ./configure that has to be manually told
stuff the compiler already knows.
Confused,
Rob
- [PATCH 00/20] Hexagon HVX (target/hexagon) patch series, Taylor Simpson, 2021/07/05
- [PATCH 01/20] Hexagon HVX (target/hexagon) README, Taylor Simpson, 2021/07/05
- Re: [PATCH 01/20] Hexagon HVX (target/hexagon) README, Rob Landley, 2021/07/12
- RE: [PATCH 01/20] Hexagon HVX (target/hexagon) README, Brian Cain, 2021/07/12
- Re: [PATCH 01/20] Hexagon HVX (target/hexagon) README, Rob Landley, 2021/07/18
- RE: [PATCH 01/20] Hexagon HVX (target/hexagon) README, Brian Cain, 2021/07/19
- RE: [PATCH 01/20] Hexagon HVX (target/hexagon) README, Sid Manning, 2021/07/19
- Re: [PATCH 01/20] Hexagon HVX (target/hexagon) README, Rob Landley, 2021/07/26
- Re: [PATCH 01/20] Hexagon HVX (target/hexagon) README, Rob Landley, 2021/07/26
- RE: [PATCH 01/20] Hexagon HVX (target/hexagon) README, Taylor Simpson, 2021/07/26
- Re: [PATCH 01/20] Hexagon HVX (target/hexagon) README,
Rob Landley <=
[PATCH 07/20] Hexagon HVX (target/hexagon) import macro definitions, Taylor Simpson, 2021/07/05
[PATCH 08/20] Hexagon HVX (target/hexagon) semantics generator, Taylor Simpson, 2021/07/05
[PATCH 12/20] Hexagon HVX (target/hexagon) helper functions, Taylor Simpson, 2021/07/05
[PATCH 09/20] Hexagon HVX (target/hexagon) semantics generator - part 2, Taylor Simpson, 2021/07/05
[PATCH 04/20] Hexagon HVX (target/hexagon) support in gdbstub, Taylor Simpson, 2021/07/05
[PATCH 06/20] Hexagon HVX (target/hexagon) macros, Taylor Simpson, 2021/07/05
[PATCH 02/20] Hexagon HVX (target/hexagon) add Hexagon Vector eXtensions (HVX) to core, Taylor Simpson, 2021/07/05