diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-01-16 13:47:07 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-01-16 13:47:07 +0000 |
commit | ba8b21c37638837a2afbb95c056b9ce6c25366bd (patch) | |
tree | c752c6ddb86a54bf1b4911a5d169fc8242310e87 /src/cpu/intel/model_106cx/cache_as_ram_post.c | |
parent | 68b3c4637a32004c956dd89d01d2288aff2f24d2 (diff) |
Micro-optimization: movl $0 --> xorl.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5012 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/intel/model_106cx/cache_as_ram_post.c')
-rw-r--r-- | src/cpu/intel/model_106cx/cache_as_ram_post.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/intel/model_106cx/cache_as_ram_post.c b/src/cpu/intel/model_106cx/cache_as_ram_post.c index 09446fdea1..f4ced0f845 100644 --- a/src/cpu/intel/model_106cx/cache_as_ram_post.c +++ b/src/cpu/intel/model_106cx/cache_as_ram_post.c @@ -60,7 +60,7 @@ "wrmsr\n" "movl $MTRRphysMask_MSR(0), %ecx\n" "movl $(~(1024*1024 -1) | (1 << 11)), %eax\n" - "movl $0x00000000, %edx\n" + "xorl %edx, %edx\n" "wrmsr\n" "movb $0x35, %al\noutb %al, $0x80\n" #endif @@ -97,7 +97,7 @@ "wrmsr\n" "movl $MTRRphysMask_MSR(0), %ecx\n" "movl $(~(1024*1024 -1) | (1 << 11)), %eax\n" - "movl $0x00000000, %edx\n" + "xorl %edx, %edx\n" "wrmsr\n" "movb $0x39, %al\noutb %al, $0x80\n" |