Skip to content

[CORE] Fix some logic errors reported in #4214 - #4261

Merged
ptitSeb merged 1 commit into
ptitSeb:mainfrom
zengdage:panic-2
Aug 18, 2026
Merged

[CORE] Fix some logic errors reported in #4214#4261
ptitSeb merged 1 commit into
ptitSeb:mainfrom
zengdage:panic-2

Conversation

@zengdage

@zengdage zengdage commented Aug 18, 2026

Copy link
Copy Markdown
Contributor
  1. || has higher precedence than ?:, TI bit locates at bit2.

  2. ED is a reg64_t * and it gets scaled by sizeof(reg64_t).

  3. Use rex.w?7:3 to check whether address is aligned or not.

1. `||` has higher precedence than `?:`, TI bit locates at bit2.

2. `ED` is a `reg64_t *` and it gets scaled by `sizeof(reg64_t)`.

3. Use `rex.w?7:3` to whether address is aligned.
@ptitSeb
ptitSeb merged commit 023d96e into ptitSeb:main Aug 18, 2026
46 of 56 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.

2 participants