rust-embedded.github.io icon indicating copy to clipboard operation
rust-embedded.github.io copied to clipboard

Outdated answer of the question "(When) will Rust support the Xtensa architecture?"

Open wuwbobo2021 opened this issue 11 months ago • 2 comments

The LLVM dashboard is an invalid link. I can't find the successor of this "dashboard", but https://discourse.llvm.org/search?q=xtensa%20order%3Alatest can be checked.

The original LLVM does support the xtensa for now:

~$ llvm-objdump --version
Ubuntu LLVM version 18.1.3
  Optimized build.

  Registered Targets:
    aarch64     - AArch64 (little endian)
    aarch64_32  - AArch64 (little endian ILP32)
    aarch64_be  - AArch64 (big endian)
    amdgcn      - AMD GCN GPUs
    arm         - ARM
    arm64       - ARM64 (little endian)
    arm64_32    - ARM64 (little endian ILP32)
    armeb       - ARM (big endian)
    avr         - Atmel AVR Microcontroller
    bpf         - BPF (host endian)
    bpfeb       - BPF (big endian)
    bpfel       - BPF (little endian)
    hexagon     - Hexagon
    lanai       - Lanai
    loongarch32 - 32-bit LoongArch
    loongarch64 - 64-bit LoongArch
    m68k        - Motorola 68000 family
    mips        - MIPS (32-bit big endian)
    mips64      - MIPS (64-bit big endian)
    mips64el    - MIPS (64-bit little endian)
    mipsel      - MIPS (32-bit little endian)
    msp430      - MSP430 [experimental]
    nvptx       - NVIDIA PTX 32-bit
    nvptx64     - NVIDIA PTX 64-bit
    ppc32       - PowerPC 32
    ppc32le     - PowerPC 32 LE
    ppc64       - PowerPC 64
    ppc64le     - PowerPC 64 LE
    r600        - AMD GPUs HD2XXX-HD6XXX
    riscv32     - 32-bit RISC-V
    riscv64     - 64-bit RISC-V
    sparc       - Sparc
    sparcel     - Sparc LE
    sparcv9     - Sparc V9
    systemz     - SystemZ
    thumb       - Thumb
    thumbeb     - Thumb (big endian)
    ve          - VE
    wasm32      - WebAssembly 32-bit
    wasm64      - WebAssembly 64-bit
    x86         - 32-bit X86: Pentium-Pro and above
    x86-64      - 64-bit X86: EM64T and AMD64
    xcore       - XCore
    xtensa      - Xtensa 32

wuwbobo2021 avatar Feb 18 '25 10:02 wuwbobo2021

Thanks! Could you submit a PR updating that?

eldruin avatar Mar 03 '25 09:03 eldruin

No, thanks. I am not good at writing documentation.

Note: The ESP fork of the Rust toolchain has just updated to version 1.85, upgrading to LLVM ESP fork version 19 (https://github.com/esp-rs/esp-hal/issues/3146). Currently the official LLVM doesn't really support the Xtensa target, but there's some ongoing pull request(s): https://github.com/espressif/llvm-project/issues/4 (I'm not sure if this will resolve the esp-hal Wifi speed issue with the Xtensa target: https://github.com/esp-rs/esp-hal/issues/1605)


发件人: Diego Barrios Romero @.> 发送时间: 2025年3月3日 17:01 收件人: rust-embedded/rust-embedded.github.io @.> 抄送: wu bobo @.>; Author @.> 主题: Re: [rust-embedded/rust-embedded.github.io] Outdated answer of the question "(When) will Rust support the Xtensa architecture?" (Issue #38)

Thanks! Could you submit a PR updating that?

― Reply to this email directly, view it on GitHubhttps://github.com/rust-embedded/rust-embedded.github.io/issues/38#issuecomment-2693682510, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVFLUNVLUSUW3HX6OKODFZT2SQK43AVCNFSM6AAAAABXLH6AXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJTGY4DENJRGA. You are receiving this because you authored the thread.Message ID: @.***>

[eldruin]eldruin left a comment (rust-embedded/rust-embedded.github.io#38)https://github.com/rust-embedded/rust-embedded.github.io/issues/38#issuecomment-2693682510

Thanks! Could you submit a PR updating that?

― Reply to this email directly, view it on GitHubhttps://github.com/rust-embedded/rust-embedded.github.io/issues/38#issuecomment-2693682510, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVFLUNVLUSUW3HX6OKODFZT2SQK43AVCNFSM6AAAAABXLH6AXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJTGY4DENJRGA. You are receiving this because you authored the thread.Message ID: @.***>

wuwbobo2021 avatar Mar 03 '25 10:03 wuwbobo2021