diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-08-25 10:07:37 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-08-25 10:07:37 -0700 |
commit | e73015f2d666b66c69f3c6f350e2dcd3df5b075a (patch) | |
tree | 7de6944489f3b23150d179999437020fcd505afa /sysdeps/x86_64/multiarch/init-arch.c | |
parent | 224c3568f622f367dbbcd3acbcb6cc673ef0a606 (diff) | |
download | glibc-e73015f2d666b66c69f3c6f350e2dcd3df5b075a.tar glibc-e73015f2d666b66c69f3c6f350e2dcd3df5b075a.tar.gz glibc-e73015f2d666b66c69f3c6f350e2dcd3df5b075a.tar.bz2 glibc-e73015f2d666b66c69f3c6f350e2dcd3df5b075a.zip |
Unroll 32bit SSE strlen and handle slow bsf
Diffstat (limited to 'sysdeps/x86_64/multiarch/init-arch.c')
-rw-r--r-- | sysdeps/x86_64/multiarch/init-arch.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/init-arch.c b/sysdeps/x86_64/multiarch/init-arch.c index 55c9f54f96..786466d5fd 100644 --- a/sysdeps/x86_64/multiarch/init-arch.c +++ b/sysdeps/x86_64/multiarch/init-arch.c @@ -72,6 +72,12 @@ __init_cpu_features (void) model += extended_model; switch (model) { + case 0x1c: + case 0x26: + /* BSF is slow on Atom. */ + __cpu_features.feature[index_Slow_BSF] |= bit_Slow_BSF; + break; + case 0x1a: case 0x1e: case 0x1f: |