Skip to content

fix #24324 -m32 -O: byte load emits a REX prefix, which is INC EAX - #24545

Open
WalterBright wants to merge 1 commit into
dlang:masterfrom
WalterBright:issue24324
Open

WalterBright wants to merge 1 commit into
dlang:masterfrom
WalterBright:issue24324

Conversation

@WalterBright

@WalterBright WalterBright commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Closes #24324

@WalterBright WalterBright added Compiler:Backend glue code, optimizer, code generation Bug Fix labels Dec 3, 2026
@WalterBright
WalterBright force-pushed the issue24324 branch 2 times, most recently from 93b8990 to 912bcb0 Compare December 3, 2026 04:54

@thewilsonator thewilsonator left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise looks good

Comment thread compiler/src/dmd/backend/x86/cod4.d Resolved
Comment thread compiler/src/dmd/backend/x86/cod4.d Resolved
e.Eoper = op;
el_free(e2);
e.E2 = null;
if (tysize(e.Ety) > 1 && tysize(e1.Ety) == 1) // https://issues.dlang.org/show_bug.cgi?id=24324

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bugzilla link, we use GitHub issues now

@dkorpel dkorpel Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/dlang/dmd/issues/24324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Fix Compiler:Backend glue code, optimizer, code generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

-m32 -O: byte load emits a REX prefix, which is INC EAX

3 participants