Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use flag instead of imm value to determine if this is register to register operation #449

Merged
merged 1 commit into from
May 7, 2024

Conversation

Alan-Jowett
Copy link
Collaborator

@Alan-Jowett Alan-Jowett commented May 7, 2024

This pull request contains a modification to the muldivmod function in the vm/ubpf_jit_x86_64.c file. The change is in the condition for loading the divisor into the RCX register. Previously, the divisor was loaded if imm was true. The updated code now loads the divisor if reg is not true. This change might affect how the divisor is loaded into the RCX register depending on the value of reg.

Resolves: #448

…ister operation

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
@Alan-Jowett Alan-Jowett enabled auto-merge (squash) May 7, 2024 20:34
@Alan-Jowett Alan-Jowett disabled auto-merge May 7, 2024 23:03
@Alan-Jowett Alan-Jowett merged commit 5d4d78d into iovisor:main May 7, 2024
34 checks passed
@coveralls
Copy link

Coverage Status

coverage: 81.235%. remained the same
when pulling 9f6f58f on Alan-Jowett:incorrect_muldiv
into 0a50b44 on iovisor:main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants