Skip to content
Commit e36de6a3 authored by Fangrui Song's avatar Fangrui Song Committed by Sunil K Pandey
Browse files

x86-64: Replace movzx with movzbl



Clang cannot assemble movzx in the AT&T dialect mode.

../sysdeps/x86_64/strcmp.S:2232:16: error: invalid operand for instruction
 movzx (%rsi), %ecx
               ^~~~

Change movzx to movzbl, which follows the AT&T dialect and is used
elsewhere in the file.

Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit 6720d36b)
parent ce785921
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment