[Bug gas/32528] Different codegen between `mov al, byte [rdi]` and `mov al, [rdi]`

2025-01-07 Thread taolzu at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32528 Lzu Tao changed: What|Removed |Added CC||taolzu at gmail dot com -- You are

[Bug gas/32528] New: Different codegen between `mov al, byte [rdi]` and `mov al, [rdi]`

2025-01-07 Thread taolzu at gmail dot com
: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: taolzu at gmail dot com Target Milestone: --- Consider the following x86-64 assembly with intel syntax. I expect two instruction produce the same output: ``` mov al, byte