Skip to content

Latest commit

 

History

History
306 lines (219 loc) · 16.8 KB

2023-09-01.en.md

File metadata and controls

306 lines (219 loc) · 16.8 KB

This Month in PLCT: Issue 49 (September, 2023)

Preface

On August 23, the RISC-V China Summit was held at the Beijing Shangri-La Hotel. During its three-day agenda, the RISC-V Inetrnational foundation, industry experts, enterprise representatives, and friends from the various communities congregated to explore RISC-V's future development and opportunities, as well as to present on new products and technologies. Thanks to the hard work of our colleagues at the PLCT Lab and TARSIER in coordination, presentations, and hosting, our largest and most attended summit yet saw great success.

We hope to see you again next year!

Featured Items

V8 for RISC-V

OpenJDK Upstreaming (RV64)

OpenJDK Upstreaming (Zhang Dingli [张定立])

  • Submitted and merged JDK-mainline patches.

OpenJDK Upstreaming (Cao Gui [曹贵])

  • Submitted and merged JDK-mainline patches.
  • Backports from jdk21u.
  • OpenJDK auto-vectorisation bug investigation.

Clang/LLVM RISC-V Porting

We continued working on assembler support for RVV 0.7.1, which is now > 90% complete.

gollvm

No update this month.

GNU Toolchain

Arch Linux for RISC-V

No update this month.

Gentoo for RISC-V

No update this month.

Nixpkgs for RISC-V

Firefox (SpiderMonkey) for RV64GCV

Porting upstream updates.

DynamoRIO for RV64GC

We made good progress this month. DynamoRIO RISCV64 can now run single threaded C programs, such as most common Linux commands.

Next, we will move to implement multi-threaded support, as it will be needed for larger applications. You may check out the current progress at https://github.com/ruyisdk/dynamorio. As we continue to implement support, we will begin moving these improvements upstream.

Upstreamed changes.

Submitted changes, merge pending.

OpenCV for RISC-V

LIBCXX Experimental/simd

No update this month.

LuaJIT RV64G 移植

No update this month.

gem5

No update this month.

Spike

No update this month.

QEMU

No update this month.

box64

No update this month.

Other Supporting Work for RISC-V International

SAIL/ACT

No update this month.

在方舟开源编译器社区的工作

Shi Ninging (史宁宁) continues to work on compiling the OpenArkCompiler Weekly, which just published its 176th issue.

You may find new weekly issues of the OpenArkCompiler Weekly on Sundays on...

MLIR

  • MLIR Vector Dialect Dynamic Vector Length Support.
    • Proposal complete: Universal Vector Dialect SetVL Operation + Dynamic Vector Type.
    • To be announced as a community RFC after peer review with our partners at Google.

Buddy Compiler

buddy-mlir

Code repository: https://github.com/buddy-compiler/buddy-mlir

  • [DIP] Accelerate rotation2D.
  • [examples] Add Conv2D, MatMul, Tranform cases.
  • [frontend] Add text container.

buddy-benchmark

Code repository: https://github.com/buddy-compiler/buddy-benchmark

  • [OpOptimization] Add conv2d_nchw_fchw_im2col_broadcast cases.
  • [DL] Add MiniLM to deep learning benchmark.
  • [DL] Add VGG MLIR model.

Chisel/FIRRTL (CAAT)

coreboot for riscv

No update this month.

openocd

opensbi

  • pmu计数器不连续的支持,移除mhpm_count,通过mhpm_mask记录哪些计数器是支持的。1
  • 修正Makefile中grep的一个警告。1
  • 修正查找event计数器中的一个拼写错误。1
  • __fw_rw_offset改为运行时计算,以规避clang16+编译报错。1
  • 把fdt_parse_isa_extensions移动到coolboot中防止操作系统破坏fdt后再解析isa扩展。1
  • 平台制定tlb队列长度支持,tlb队列改为通过堆申请。1 2
  • 修正c9xx pmu引起hang,允许s-mode访问相关寄存器。1
  • 重定义SBI_IPI_EVENT_MAX,移除机器长度和long长度相同的假定。1
  • 修改测试payload,使用debug console。1
  • 改进sbi_hartmask,从记录hartid改为记录hart index,减少间隙。1

u-boot

No update this month.

Aya Theorem Prover

No update this month.

eBPF

  • bpf-developer-tutorial: link
    • 1000+ star milestone!
    • Introduced a series of new tutorials, such as SSL hook.
  • eBPF userspace tools.
    • bpf-benchmark, testsuite for eBPF runtime performance (supports llvm-jit, ubpf, and ebpf.
    • Reported a segfault in rbpf, which is already fixed, ref
    • Implemented a PoC for userspace eBPF syscall tracing and benchmarked this PoC against implementation in kernel.
    • Profiled libbpf syscalls as it loads eBPF and implemented a PoC for usersapce libbpf.
  • eunomia-bpf
    • Revised CI workflows for ecc, merging build jobs for different architectures, allowing parallel builds and making future maintenance easier, ref
    • Fixed some bugs in ecli's CI workflows, ref

RISC-V Platform Evaluation

No update this month.

Testing and Development

  • Evaluated RISC-V testing and migration platforms.
    • Tested GitLab webhook.
    • Built libjpeg-turbo, openjepg, ncnn, and opencv in local riscv64 Ubuntu, Fedora, and openEuler containers, recording the procedures in Jenkinsfiles.
    • Tested Jenkinsfiles on x86, VisionFive, Unmatched, LicheePi 4A, and SG2042 hardware.
    • Updated testing reports.
  • Evaluated interface and compiler tests in openEuler RISC-V's testing policy.
    • Built and ran API Sanity Checker for interface testing on openEuler RISC-V, authoring documentation.
    • Built and ran the Csmith compiler testsuite, authoring documentation.

Useful Links