KhronosGroup / KhronosGroup/SPIRV-Tools

spirv-fuzz: Replace decimal arithmetic with binary arithmetic

Open
#3,646 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.