Bug 238009 - [RISC-V] Support the bitmanip extensions
Summary: [RISC-V] Support the bitmanip extensions
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 237775
  Show dependency treegraph
 
Reported: 2022-03-17 01:23 PDT by Zan Dobersek
Modified: 2022-03-24 01:24 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zan Dobersek 2022-03-17 01:23:48 PDT
The bitmanip extensions (Zba, Zbb, Zbc, Zbs) have been ratified some months ago, and would be very useful in how we generate instructions for certain operations.

These would have to be detected at runtime. Once indicated as supported, we could generate much simpler instructions instead of the current overly-verbose implementations.
Comment 1 Zan Dobersek 2022-03-17 01:37:08 PDT
Bitmanip (Zba, Zbb, Zbc, Zbs) spec:
https://github.com/riscv/riscv-bitmanip/releases/download/1.0.0/bitmanip-1.0.0-38-g865e7a7.pdf
Comment 2 Radar WebKit Bug Importer 2022-03-24 01:24:15 PDT
<rdar://problem/90753636>