vendorcode/amd/agesa/f*: Improve gcccar.inc assembler compatibility.

A comparison with a two's complement in gcccar.inc has dubious
GAS/AT&T notation. Clang miss-parses 0x-1 as an invalid hexadecimal
number.

Change-Id: I88baa5c2513f062ff309df05916a3832b9bd9bb1
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5277
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Edward O'Callaghan 2014-02-21 12:43:07 +11:00 committed by Alexandru Gagniuc
parent 5edfa3779d
commit 9cd96b4096
5 changed files with 5 additions and 5 deletions

View File

@ -827,7 +827,7 @@ fam14_disable_stack_hook_exit:
LOCAL node_core_f14_exit LOCAL node_core_f14_exit
cmp $0x-1, %si # Has node/core already been discovered? cmp $-1, %si # Has node/core already been discovered?
jnz node_core_f14_exit # Br if yes jnz node_core_f14_exit # Br if yes
AMD_CPUID $CPUID_MODEL AMD_CPUID $CPUID_MODEL

View File

@ -821,7 +821,7 @@ fam14_disable_stack_hook_exit:
LOCAL node_core_f14_exit LOCAL node_core_f14_exit
cmp $0x-1, %si # Has node/core already been discovered? cmp $-1, %si # Has node/core already been discovered?
jnz node_core_f14_exit # Br if yes jnz node_core_f14_exit # Br if yes
AMD_CPUID $CPUID_MODEL AMD_CPUID $CPUID_MODEL

View File

@ -835,7 +835,7 @@ fam14_disable_stack_hook_exit:
LOCAL node_core_f14_exit LOCAL node_core_f14_exit
cmp $0x-1, %si # Has node/core already been discovered? cmp $-1, %si # Has node/core already been discovered?
jnz node_core_f14_exit # Br if yes jnz node_core_f14_exit # Br if yes
AMD_CPUID $CPUID_MODEL AMD_CPUID $CPUID_MODEL

View File

@ -842,7 +842,7 @@ fam14_disable_stack_hook_exit:
LOCAL node_core_f14_exit LOCAL node_core_f14_exit
cmp $0x-1, %si # Has node/core already been discovered? cmp $-1, %si # Has node/core already been discovered?
jnz node_core_f14_exit # Br if yes jnz node_core_f14_exit # Br if yes
AMD_CPUID $CPUID_MODEL AMD_CPUID $CPUID_MODEL

View File

@ -875,7 +875,7 @@ fam14_disable_stack_hook_exit:
LOCAL node_core_f14_exit LOCAL node_core_f14_exit
cmp $0x-1, %si # Has node/core already been discovered? cmp $-1, %si # Has node/core already been discovered?
jnz node_core_f14_exit # Br if yes jnz node_core_f14_exit # Br if yes
AMD_CPUID $CPUID_MODEL AMD_CPUID $CPUID_MODEL