KhronosGroup / KhronosGroup/SPIRV-Tools
spirv-fuzz: Replace decimal arithmetic with binary arithmetic
Open
component:fuzzer
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
Instructions like `OpIAdd`, `OpFAdd`, `OpISub`, `OpFSub`, `OpIMul` and `OpFMul` can be replaced by implementing the binary arithmetic in the SPIR-V module.
Contributor guide
Research direction
Start by locating the spirv-fuzz implementation for OpIAdd, OpFAdd, OpISub, OpFSub, OpIMul, and OpFMul in the SPIR-V module. Determine how decimal arithmetic is currently handled and identify the relevant tests; done means these instructions can be replaced using binary arithmetic without breaking existing fuzzing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100