aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2014-06-27 20:41:12 +0000
committerDimitry Andric <dim@FreeBSD.org>2014-06-27 20:41:12 +0000
commit96b9c776769edda82a3b064f1628357be2e71ccf (patch)
tree45962d8217992814e3e11ec2286f9fad24cf5660 /sys/netinet
parent7344ee184bebe6d1df0c60f09d4952653c47c1d8 (diff)
Pull in r211627 from upstream llvm trunk (by Bill Schmidt):
[PPC64] Fix PR20071 (fctiduz generated for targets lacking that instruction) PR20071 identifies a problem in PowerPC's fast-isel implementation for floating-point conversion to integer. The fctiduz instruction was added in Power ISA 2.06 (i.e., Power7 and later). However, this instruction is being generated regardless of which 64-bit PowerPC target is selected. The intent is for fast-isel to punt to DAG selection when this instruction is not available. This patch implements that change. For testing purposes, the existing fast-isel-conversion.ll test adds a RUN line for -mcpu=970 and tests for the expected code generation. Additionally, the existing test fast-isel-conversion-p5.ll was found to be incorrectly expecting the unavailable instruction to be generated. I've removed these test variants since we have adequate coverage in fast-isel-conversion.ll. This is needed to compile clang with debug+asserts on older powerpc64 and ppc970 targets. Requested by: jhibbits MFC after: 3 days
Notes
Notes: svn path=/head/; revision=267981
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions