summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-10-22 00:02:32 +0000
committerDale Johannesen <dalej@apple.com>2008-10-22 00:02:32 +0000
commitcf4607fcce2416a23f195d6fda3a2a7fb2d999fe (patch)
treef2846053f98721a35602a309610090b73e930553 /llvm/lib/Target
parent82860267009586ea99ccc48f4b93b504c79907b1 (diff)
downloadbcm5719-llvm-cf4607fcce2416a23f195d6fda3a2a7fb2d999fe.tar.gz
bcm5719-llvm-cf4607fcce2416a23f195d6fda3a2a7fb2d999fe.zip
Adjust comments for pedantic satisfaction.
llvm-svn: 57940
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 24b062996b8..4ab5fe7dab2 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -4703,30 +4703,30 @@ SDValue X86TargetLowering::LowerUINT_TO_FP(SDValue Op, SelectionDAG &DAG) {
static const __m128i exp = { 0x4330000045300000ULL, 0 };
static const __m128d bias = { 0x1.0p84, 0x1.0p52 };
- //copy ints to xmm registers
+ // copy ints to xmm registers
__m128i xh = _mm_cvtsi32_si128( hi );
__m128i xl = _mm_cvtsi32_si128( lo );
- //combine into low half of a single xmm register
+ // combine into low half of a single xmm register
__m128i x = _mm_unpacklo_epi32( xh, xl );
__m128d d;
double sd;
- //merge in appropriate exponents to give the integer bits the
+ // merge in appropriate exponents to give the integer bits the
// right magnitude
x = _mm_unpacklo_epi32( x, exp );
- //subtract away the biases to deal with the IEEE-754 double precision
- //implicit 1
+ // subtract away the biases to deal with the IEEE-754 double precision
+ // implicit 1
d = _mm_sub_pd( (__m128d) x, bias );
- //All conversions up to here are exact. The correctly rounded result is
+ // All conversions up to here are exact. The correctly rounded result is
// calculated using the
- //current rounding mode using the following horizontal add.
+ // current rounding mode using the following horizontal add.
d = _mm_add_sd( d, _mm_unpackhi_pd( d, d ) );
_mm_store_sd( &sd, d ); //since we are returning doubles in XMM, this
- //store doesn't really need to be here (except maybe to zero the other
- //double)
+ // store doesn't really need to be here (except maybe to zero the other
+ // double)
return sd;
}
*/
OpenPOWER on IntegriCloud