Skip to content

x86: Implement test instruction#559

Merged
SamboyCoding merged 1 commit into
SamboyCoding:developmentfrom
gompoc:gompoc-x86-test-instruction
Jun 14, 2026
Merged

x86: Implement test instruction#559
SamboyCoding merged 1 commit into
SamboyCoding:developmentfrom
gompoc:gompoc-x86-test-instruction

Conversation

@gompoc

@gompoc gompoc commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

It was only half-ish implemented before.

Previously test instructions such as:
test x, 1
would result in
ZF = x != 1
when it should be more like:
ZF = ( x & 1) == 0

It was only half-ish implemented before.
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 27493440270

Coverage decreased (-0.02%) to 33.745%

Details

  • Coverage decreased (-0.02%) from the base build.
  • Patch coverage: 14 uncovered changes across 1 file (0 of 14 lines covered, 0.0%).
  • 1 coverage regression across 1 file.

Uncovered Changes

File Changed Covered %
Cpp2IL.Core/InstructionSets/X86InstructionSet.cs 14 0 0.0%

Coverage Regressions

1 previously-covered line in 1 file lost coverage.

File Lines Losing Coverage Coverage
Cpp2IL.Core/InstructionSets/X86InstructionSet.cs 1 0.12%

Coverage Stats

Coverage Status
Relevant Lines: 12475
Covered Lines: 4661
Line Coverage: 37.36%
Relevant Branches: 7916
Covered Branches: 2220
Branch Coverage: 28.04%
Branches in Coverage %: Yes
Coverage Strength: 240954.17 hits per line

💛 - Coveralls

@SamboyCoding SamboyCoding merged commit b7d63a2 into SamboyCoding:development Jun 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants