Changeset 194073 in webkit
- Timestamp:
- Dec 14, 2015, 4:34:37 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
ftl/FTLB3Output.h (modified) (2 diffs)
-
ftl/FTLLowerDFGToLLVM.cpp (modified) (1 diff)
-
ftl/FTLOutput.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r194072 r194073 1 2015-12-14 Benjamin Poulain <benjamin@webkit.org> 2 3 Rename FTL::Output's ceil64() to doubleCeil() 4 5 Rubber-stamped by Filip Pizlo. 6 7 ceil64() was a bad name, that's the name convention we use for integers. 8 9 * ftl/FTLB3Output.h: 10 (JSC::FTL::Output::doubleCeil): 11 (JSC::FTL::Output::ceil64): Deleted. 12 * ftl/FTLLowerDFGToLLVM.cpp: 13 (JSC::FTL::DFG::LowerDFGToLLVM::compileArithRound): 14 1 15 2015-12-14 Filip Pizlo <fpizlo@apple.com> 2 16 -
trunk/Source/JavaScriptCore/ftl/FTLB3Output.h
r194071 r194073 155 155 LValue bitNot(LValue); 156 156 157 LValue ceil64(LValue operand) { return m_block->appendNew<B3::Value>(m_proc, B3::Ceil, origin(), operand); }158 157 LValue ctlz32(LValue operand) { return m_block->appendNew<B3::Value>(m_proc, B3::Clz, origin(), operand); } 159 158 LValue addWithOverflow32(LValue left, LValue right) { CRASH(); } … … 164 163 LValue mulWithOverflow64(LValue left, LValue right) { CRASH(); } 165 164 LValue doubleAbs(LValue value) { return m_block->appendNew<B3::Value>(m_proc, B3::Abs, origin(), value); } 165 LValue doubleCeil(LValue operand) { return m_block->appendNew<B3::Value>(m_proc, B3::Ceil, origin(), operand); } 166 166 167 167 LValue doubleSin(LValue value) { return callWithoutSideEffects(B3::Double, sin, value); } -
trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp
r194072 r194073 2126 2126 2127 2127 LValue value = lowDouble(m_node->child1()); 2128 LValue integerValue = m_out. ceil64(value);2128 LValue integerValue = m_out.doubleCeil(value); 2129 2129 ValueFromBlock integerValueResult = m_out.anchor(integerValue); 2130 2130 -
trunk/Source/JavaScriptCore/ftl/FTLOutput.h
r194024 r194073 148 148 LValue insertElement(LValue vector, LValue element, LValue index) { return buildInsertElement(m_builder, vector, element, index); } 149 149 150 LValue ceil64(LValue operand) 150 LValue ctlz32(LValue operand) 151 { 152 return call(int32, ctlz32Intrinsic(), operand, booleanFalse); 153 } 154 LValue addWithOverflow32(LValue left, LValue right) 155 { 156 return call(int32, addWithOverflow32Intrinsic(), left, right); 157 } 158 LValue subWithOverflow32(LValue left, LValue right) 159 { 160 return call(int32, subWithOverflow32Intrinsic(), left, right); 161 } 162 LValue mulWithOverflow32(LValue left, LValue right) 163 { 164 return call(int32, mulWithOverflow32Intrinsic(), left, right); 165 } 166 LValue addWithOverflow64(LValue left, LValue right) 167 { 168 return call(int64, addWithOverflow64Intrinsic(), left, right); 169 } 170 LValue subWithOverflow64(LValue left, LValue right) 171 { 172 return call(int64, subWithOverflow64Intrinsic(), left, right); 173 } 174 LValue mulWithOverflow64(LValue left, LValue right) 175 { 176 return call(int64, mulWithOverflow64Intrinsic(), left, right); 177 } 178 LValue doubleAbs(LValue value) 179 { 180 return call(doubleType, doubleAbsIntrinsic(), value); 181 } 182 LValue doubleCeil(LValue operand) 151 183 { 152 184 return call(doubleType, ceil64Intrinsic(), operand); 153 }154 LValue ctlz32(LValue operand)155 {156 return call(int32, ctlz32Intrinsic(), operand, booleanFalse);157 }158 LValue addWithOverflow32(LValue left, LValue right)159 {160 return call(int32, addWithOverflow32Intrinsic(), left, right);161 }162 LValue subWithOverflow32(LValue left, LValue right)163 {164 return call(int32, subWithOverflow32Intrinsic(), left, right);165 }166 LValue mulWithOverflow32(LValue left, LValue right)167 {168 return call(int32, mulWithOverflow32Intrinsic(), left, right);169 }170 LValue addWithOverflow64(LValue left, LValue right)171 {172 return call(int64, addWithOverflow64Intrinsic(), left, right);173 }174 LValue subWithOverflow64(LValue left, LValue right)175 {176 return call(int64, subWithOverflow64Intrinsic(), left, right);177 }178 LValue mulWithOverflow64(LValue left, LValue right)179 {180 return call(int64, mulWithOverflow64Intrinsic(), left, right);181 }182 LValue doubleAbs(LValue value)183 {184 return call(doubleType, doubleAbsIntrinsic(), value);185 185 } 186 186
Note:
See TracChangeset
for help on using the changeset viewer.