[PATCH] D111617: [RISCV] Lazily add RVV C intrinsics.

Hsiangkai Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 9 15:55:03 PST 2021


HsiangKai added a comment.

In D111617#3183146 <https://reviews.llvm.org/D111617#3183146>, @HsiangKai wrote:

> Release build:
> Before this patch:
>
>      text         data     bss    dec             hex
>   115471733       7987112  443760 123902605       7629a8d ./bin/clang
>
> After this patch:
>
>      text         data     bss    dec             hex
>   117568981       7996376  443760 126009117       782bf1d ./bin/clang  (+1.7%)
>
> Debug build:
> Before this patch:
>
>      text         data     bss    dec             hex
>   265437945       9544132  494152 275476229       106b6f05        ./bin/clang
>
> After this patch:
>
>      text         data     bss    dec             hex
>   272133359       9553380  494152 282180891       10d1bd1b        ./bin/clang. (+2.4%)

cmake options:
Release build:

  cmake -DCMAKE_INSTALL_PREFIX=$PREFIX \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_C_COMPILER=clang-10 \
        -DCMAKE_CXX_COMPILER=clang++-10 \
        -DLLVM_ENABLE_PROJECTS="clang" \
        -DLLVM_PARALLEL_LINK_JOBS=8 \
        -DLLVM_DEFAULT_TARGET_TRIPLE="riscv64-unknown-elf" \
        -G "Ninja" $SOURCE

Debug build:

  cmake -DCMAKE_INSTALL_PREFIX=$PREFIX \
        -DCMAKE_BUILD_TYPE=Debug \
        -DCMAKE_C_COMPILER=clang-10 \
        -DCMAKE_CXX_COMPILER=clang++-10 \
        -DLLVM_ENABLE_PROJECTS="clang" \
        -DLLVM_PARALLEL_LINK_JOBS=8 \
        -G "Ninja" $SOURCE


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111617/new/

https://reviews.llvm.org/D111617



More information about the cfe-commits mailing list