Skip to content

Extract parity bit without computation #253

@sabastiaan

Description

@sabastiaan

Currently the value relevant for parity gets extracted through and it with an 8 bit representation of 1. This value is Xor'd with a 1

We can just simply truncate the original value to it's last bit and Not the value instead.

Example input that generates this: 4801c0

image

Metadata

Metadata

Assignees

Labels

optimizationsRelated to circIR optimizationswipCurrently being worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions