[llvm-dev] PPC little endian?

Konstantin Tokarev via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 26 10:11:42 PDT 2016



26.04.2016, 19:48, "Kit Barton via llvm-dev" <llvm-dev at lists.llvm.org>:
> Hi Jun,
> There are no PowerPC 32-bit Little-Endian machines.

This is not true

https://en.wikipedia.org/wiki/PowerPC#Endian_modes
http://lwn.net/Articles/408845

However, this feature is not available on all CPU models, and was never used widely.

> Little-endian was introduced with OpenPOWER a couple years ago, and a decision was made to only support 64-bit.

This is certainly true for POWER series of CPUs, produced by IBM


>
> Kit Barton, Ph.D.
> LLVM Development on POWER
> IBM Toronto Lab, D2/929/8200/MKM
> 8200 Warden Ave, Markham, L6G 1C7
> (905) 413-3452
> kbarton at ca.ibm.com
>
>> ----- Original message -----
>> From: Jun Koi via llvm-dev <llvm-dev at lists.llvm.org>
>> Sent by: "llvm-dev" <llvm-dev-bounces at lists.llvm.org>
>> To: llvm-dev <llvm-dev at lists.llvm.org>
>> Cc:
>> Subject: [llvm-dev] PPC little endian?
>> Date: Tue, Apr 26, 2016 12:41 PM
>>
>> Hi,
>>
>> I am wondering why we dont support PPC32 LE?
>>
>> Here is the output of llvm-mc --version, in which only PPC32, PPC64 & PPC64LE are supported.
>>
>> $ llvm-mc --version
>> LLVM (http://llvm.org/):
>>   LLVM version 3.6.2
>>   Optimized build with assertions.
>>   Built Aug  2 2015 (11:39:46).
>>   Default target: x86_64-apple-darwin15.4.0
>>   Host CPU: core-avx2
>>
>>   Registered Targets:
>>     aarch64    - AArch64 (little endian)
>>     aarch64_be - AArch64 (big endian)
>>     amdgcn     - AMD GCN GPUs
>>     arm        - ARM
>>     arm64      - ARM64 (little endian)
>>     armeb      - ARM (big endian)
>>     cpp        - C++ backend
>>     hexagon    - Hexagon
>>     mips       - Mips
>>     mips64     - Mips64 [experimental]
>>     mips64el   - Mips64el [experimental]
>>     mipsel     - Mipsel
>>     msp430     - MSP430 [experimental]
>>     nvptx      - NVIDIA PTX 32-bit
>>     nvptx64    - NVIDIA PTX 64-bit
>>     ppc32      - PowerPC 32
>>     ppc64      - PowerPC 64
>>     ppc64le    - PowerPC 64 LE
>>     r600       - AMD GPUs HD2XXX-HD6XXX
>>     sparc      - Sparc
>>     sparcv9    - Sparc V9
>>     systemz    - SystemZ
>>     thumb      - Thumb
>>     thumbeb    - Thumb (big endian)
>>     x86        - 32-bit X86: Pentium-Pro and above
>>     x86-64     - 64-bit X86: EM64T and AMD64
>>     xcore      - XCore
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
> ,
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


-- 
Regards,
Konstantin


More information about the llvm-dev mailing list