| Index: src/crankshaft/s390/lithium-s390.h
|
| diff --git a/src/crankshaft/s390/lithium-s390.h b/src/crankshaft/s390/lithium-s390.h
|
| index e8cb3bca5fb39b1af1a6e956c84f9304487de716..37b2cf4576d7a96390818d2faab93578be54bf58 100644
|
| --- a/src/crankshaft/s390/lithium-s390.h
|
| +++ b/src/crankshaft/s390/lithium-s390.h
|
| @@ -98,6 +98,8 @@ class LCodeGen;
|
| V(LoadNamedGeneric) \
|
| V(MathAbs) \
|
| V(MathClz32) \
|
| + V(MathCos) \
|
| + V(MathSin) \
|
| V(MathExp) \
|
| V(MathFloor) \
|
| V(MathFround) \
|
| @@ -836,6 +838,24 @@ class LMathClz32 final : public LTemplateInstruction<1, 1, 0> {
|
| DECLARE_CONCRETE_INSTRUCTION(MathClz32, "math-clz32")
|
| };
|
|
|
| +class LMathCos final : public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + explicit LMathCos(LOperand* value) { inputs_[0] = value; }
|
| +
|
| + LOperand* value() { return inputs_[0]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(MathCos, "math-cos")
|
| +};
|
| +
|
| +class LMathSin final : public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + explicit LMathSin(LOperand* value) { inputs_[0] = value; }
|
| +
|
| + LOperand* value() { return inputs_[0]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(MathSin, "math-sin")
|
| +};
|
| +
|
| class LMathExp final : public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LMathExp(LOperand* value) { inputs_[0] = value; }
|
| @@ -2293,6 +2313,8 @@ class LChunkBuilder final : public LChunkBuilderBase {
|
| LInstruction* DoMathFround(HUnaryMathOperation* instr);
|
| LInstruction* DoMathAbs(HUnaryMathOperation* instr);
|
| LInstruction* DoMathLog(HUnaryMathOperation* instr);
|
| + LInstruction* DoMathCos(HUnaryMathOperation* instr);
|
| + LInstruction* DoMathSin(HUnaryMathOperation* instr);
|
| LInstruction* DoMathExp(HUnaryMathOperation* instr);
|
| LInstruction* DoMathSqrt(HUnaryMathOperation* instr);
|
| LInstruction* DoMathPowHalf(HUnaryMathOperation* instr);
|
|
|