1. Nov 21, 2023
    • Pan Li's avatar
      Add scripts to SIM_PATH. · c5b9a52f
      Pan Li authored
      
      
      Signed-off-by: default avatarPan Li <pan2.li@intel.com>
      c5b9a52f
    • Pan Li's avatar
      Inject CPU options to spike run test from elf file · 1749dfbf
      Pan Li authored
      
      
      * Refactor CPU options for exacting common part between qemu and spike.
      * Inject CPU options to spike run command line.
      
      The below common CPU options are extracted to common part.
      
      * xlen
      * vlen
      * extensions
      
      The above CPU options will be leveraged to build the run arguments for
      both the qemu and spike, for example.
      
      QEMU: qemu-riscv64 -cpu rv64,v=true,vlen=1024,elen=64,vext_spec=v1.0
      SPIKE: spike --isa=rv64imafdcv_zicsr_zifencei_zmmul --varch=vlen:1024,elen:64
      
      Signed-off-by: default avatarPan Li <pan2.li@intel.com>
      1749dfbf
  2. Nov 19, 2023
  3. Nov 17, 2023
    • Pan Li's avatar
      Cleanup debug code and allow empty input. · 47cd201f
      Pan Li authored
      
      
      Signed-off-by: default avatarPan Li <pan2.li@intel.com>
      47cd201f
    • Pan Li's avatar
      Extend semantic for option '--with-extra-multilib-test' · c1ec5800
      Pan Li authored
      
      
      The `--with-extra-multilib-test` take the format like below for now.
      
      "<arch>-<abi>-[code-model][;<arch>-<abi>-[code-model]*"
      
      This patch would like to extend the sematic to support additional buil
      options for each combination. Aka:
      
      "<arch>-<abi>-[code-model][:opts]*[;<arch>-<abi>-[code-model][:opts]*]*"
      
      opts can be one or more build options splited by ':'. For example as
      below:
      
      * --param=riscv-autovec-lmul=m1
      * --param=riscv-autovec-lmul=dynamic:--param=riscv-autovec-preference=fixed-vlmax
      
      Thus the full example of the option `--with-extra-multilib-test` will be:
      
      `rv64gcv_zvl128b-lp64d:--param=riscv-autovec-lmul=m1;rv64gcv_zvl256b-lp64d:-
      -param=riscv-autovec-lmul=dynamic:--param=riscv-autovec-preference=fixed-vlmax`
      
      Signed-off-by: default avatarPan Li <pan2.li@intel.com>
      c1ec5800
  4. Nov 16, 2023
  5. Oct 17, 2023
  6. Oct 13, 2023
  7. Oct 12, 2023
  8. Oct 11, 2023
  9. Oct 09, 2023
  10. Oct 06, 2023
  11. Oct 05, 2023
  12. Oct 04, 2023
  13. Sep 30, 2023
  14. Sep 26, 2023
  15. Sep 23, 2023
  16. Sep 12, 2023
  17. Sep 09, 2023
  18. Aug 31, 2023
  19. Aug 11, 2023
  20. Aug 10, 2023
  21. Aug 09, 2023
  22. Jul 18, 2023
  23. Jul 11, 2023
    • Kito Cheng's avatar
      Add --with-extra-multilib-test option · 3b13360c
      Kito Cheng authored
      NOTE: This is toolchain developer facing feature.
      
      This allow user to add extra testing multi-lib arch, it's useful when
      develop and/or testing new extensions.
      
      Usage:
      
      --with-extra-multilib-test="arch-abi[;arch-abi]"
      
      e.g.
      
      linux enable enabled multilib, so default will build with follwoing
      configuration:
      
      lib32/ilp32;@march=rv32imac@mabi=ilp32
      lib32/ilp32d;@march=rv32imafdc@mabi=ilp32d
      lib64/lp64;@march=rv64imac@mabi=lp64
      lib64/lp64d;@march=rv64imafdc@mabi=lp64d
      
      But you want to testing more on vector stuffs like rv32gcv and rv64gcv,
      then you can configure with `--with-extra-multilib-test="rv32gcv-ilp32d;rv64gcv;lp64d"`
      
      Then the testing will run rv32imac-ilp32 rv32imafdc-ilp32d
      rv64imac-lp64 rv64imafdc-lp64d and rv32gcv-ilp32d;rv64gcv;lp64d!
      
      NOTE: Extra multilib test settings still require existing
      multilib has support those extra settings, e.g. you can't add
      rv32imafc_zbb-ilp32f on above example since no compatible multilib has
      provided.
      3b13360c
  24. Jul 06, 2023