Print this page
1235 Use symbol capabilities to eliminate libc_hwcap*
*** 41,51 ****
/ NOTE: .byteset doesn't require this
/ %ecx contains # bytes to set
/ %edi contain address to set
cld / make sure we go the right way...
! cmpl $20,%ecx / strings with fewer than 20 chars should be byte set
jbe .byteset
andl $0xff, %eax / trim anything above low byte
imul $0x01010101, %eax / extend low byte to each byte
--- 41,52 ----
/ NOTE: .byteset doesn't require this
/ %ecx contains # bytes to set
/ %edi contain address to set
cld / make sure we go the right way...
! cmpl $20,%ecx / strings with fewer than 20 chars should be
! / byte set
jbe .byteset
andl $0xff, %eax / trim anything above low byte
imul $0x01010101, %eax / extend low byte to each byte