diff options
author | dim <dim@FreeBSD.org> | 2014-01-28 08:07:19 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-01-28 08:07:19 +0000 |
commit | 782dc633da2fa3336558b8b143198f7f95bfab13 (patch) | |
tree | f328f62a3ac8599359f167048e880a0327bc0d60 /lib/libc/string/strncpy.c | |
parent | ddff0f179e5021e21815bdb3f71e2353aedbf2ef (diff) | |
download | FreeBSD-src-782dc633da2fa3336558b8b143198f7f95bfab13.zip FreeBSD-src-782dc633da2fa3336558b8b143198f7f95bfab13.tar.gz |
MFC r261162:
Pull in r195679 from upstream llvm trunk:
Don't use nopl in cpus that don't support it.
Patch by Mikulas Patocka. I added the test. I checked that for cpu names that
gas knows about, it also doesn't generate nopl.
The modified cpus:
i686 - there are i686-class CPUs that don't have nopl: Via c3, Transmeta
Crusoe, Microsoft VirtualBox - see
https://bbs.archlinux.org/viewtopic.php?pid=775414
k6, k6-2, k6-3, winchip-c6, winchip2 - these are 586-class CPUs
via c3 c3-2 - see https://bugs.archlinux.org/task/19733 as a proof that
Via c3 and c3-Nehemiah don't have nopl
PR: bin/185777
Diffstat (limited to 'lib/libc/string/strncpy.c')
0 files changed, 0 insertions, 0 deletions