]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r261162:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jan 2014 08:07:19 +0000 (08:07 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Jan 2014 08:07:19 +0000 (08:07 +0000)
commit1ccebcf96f19b1bde7f18ac076095b75ad7925b6
treef328f62a3ac8599359f167048e880a0327bc0d60
parentd1ba151ff467e9603278b6d437044f2d6c6d0273
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@261225 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp