Skip to content

Commit

Permalink
Check DATA_CACHE_SIZE_HALF
Browse files Browse the repository at this point in the history
  • Loading branch information
H.J. Lu authored and Ulrich Drepper committed Apr 15, 2010
1 parent 18a26b3 commit df87f54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2010-04-14 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/x86_64/multiarch/memcmp-sse4.S: Check
DATA_CACHE_SIZE_HALF instead of SHARED_CACHE_SIZE_HALF.

2010-04-14 Andreas Schwab <schwab@redhat.com>

* elf/dl-version.c (_dl_check_map_versions): Avoid index overflow
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/x86_64/multiarch/memcmp-sse4.S
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#define JMPTBL(I, B) (I - B)

#define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \
lea TABLE(%rip), %r11; \
lea TABLE(%rip), %r11; \
movslq (%r11, INDEX, SCALE), %rcx; \
add %r11, %rcx; \
jmp *%rcx; \
Expand Down Expand Up @@ -624,7 +624,7 @@ L(less32bytesin256in2alinged):

ALIGN (4)
L(512bytesormorein2aligned):
#ifdef SHARED_CACHE_SIZE_HALF
#ifdef DATA_CACHE_SIZE_HALF
mov $DATA_CACHE_SIZE_HALF, %r8
#else
mov __x86_64_data_cache_size_half(%rip), %r8
Expand Down

0 comments on commit df87f54

Please sign in to comment.