Skip to content
Commit 1a20d3ec authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

x86: string_32.h: workaround for broken gcc 4.0



gcc 4.0 fails to allocate %eax for the pattern operand in the rep
store instructions used by memset; force it to do so by declaring a
register variable.

Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 4b6011bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment