/external/v8/src/arm/ |
D | codegen-arm.cc | 40 UnaryMathFunction CreateTranscendentalFunction(TranscendentalCache::Type type) { in CreateTranscendentalFunction() 42 case TranscendentalCache::SIN: return &sin; in CreateTranscendentalFunction() 43 case TranscendentalCache::COS: return &cos; in CreateTranscendentalFunction() 44 case TranscendentalCache::TAN: return &tan; in CreateTranscendentalFunction() 45 case TranscendentalCache::LOG: return &log; in CreateTranscendentalFunction()
|
D | code-stubs-arm.h | 42 TAGGED = 0 << TranscendentalCache::kTranscendentalTypeBits, 43 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits 46 TranscendentalCacheStub(TranscendentalCache::Type type, in TranscendentalCacheStub() 51 TranscendentalCache::Type type_; 55 Major MajorKey() { return TranscendentalCache; } in MajorKey()
|
D | code-stubs-arm.cc | 3259 ASSERT(IsPowerOf2(TranscendentalCache::SubCache::kCacheSize)); in Generate() 3260 __ And(r1, r1, Operand(TranscendentalCache::SubCache::kCacheSize - 1)); in Generate() 3280 { TranscendentalCache::SubCache::Element test_elem[2]; in Generate() 3399 case TranscendentalCache::SIN: in GenerateCallCFunction() 3403 case TranscendentalCache::COS: in GenerateCallCFunction() 3407 case TranscendentalCache::TAN: in GenerateCallCFunction() 3411 case TranscendentalCache::LOG: in GenerateCallCFunction() 3426 case TranscendentalCache::SIN: return Runtime::kMath_sin; in RuntimeFunction() 3427 case TranscendentalCache::COS: return Runtime::kMath_cos; in RuntimeFunction() 3428 case TranscendentalCache::TAN: return Runtime::kMath_tan; in RuntimeFunction() [all …]
|
D | full-codegen-arm.cc | 3265 TranscendentalCacheStub stub(TranscendentalCache::SIN, in EmitMathSin() 3277 TranscendentalCacheStub stub(TranscendentalCache::COS, in EmitMathCos() 3289 TranscendentalCacheStub stub(TranscendentalCache::TAN, in EmitMathTan() 3301 TranscendentalCacheStub stub(TranscendentalCache::LOG, in EmitMathLog()
|
/external/v8/src/ |
D | platform-posix.cc | 141 UNARY_MATH_FUNCTION(sin, CreateTranscendentalFunction(TranscendentalCache::SIN)) in UNARY_MATH_FUNCTION() 142 UNARY_MATH_FUNCTION(cos, CreateTranscendentalFunction(TranscendentalCache::COS)) in UNARY_MATH_FUNCTION() 143 UNARY_MATH_FUNCTION(tan, CreateTranscendentalFunction(TranscendentalCache::TAN)) in UNARY_MATH_FUNCTION() 144 UNARY_MATH_FUNCTION(log, CreateTranscendentalFunction(TranscendentalCache::LOG)) in UNARY_MATH_FUNCTION()
|
D | codegen.h | 92 UnaryMathFunction CreateTranscendentalFunction(TranscendentalCache::Type type);
|
D | heap-inl.h | 639 MaybeObject* TranscendentalCache::Get(Type type, double input) { in Get() 648 Address TranscendentalCache::cache_array_address() { in cache_array_address() 653 double TranscendentalCache::SubCache::Calculate(double input) { in Calculate() 677 MaybeObject* TranscendentalCache::SubCache::Get(double input) { in Get()
|
D | platform-win32.cc | 215 UNARY_MATH_FUNCTION(sin, CreateTranscendentalFunction(TranscendentalCache::SIN)) in UNARY_MATH_FUNCTION() 216 UNARY_MATH_FUNCTION(cos, CreateTranscendentalFunction(TranscendentalCache::COS)) in UNARY_MATH_FUNCTION() 217 UNARY_MATH_FUNCTION(tan, CreateTranscendentalFunction(TranscendentalCache::TAN)) in UNARY_MATH_FUNCTION() 218 UNARY_MATH_FUNCTION(log, CreateTranscendentalFunction(TranscendentalCache::LOG)) in UNARY_MATH_FUNCTION()
|
D | heap.h | 2528 class TranscendentalCache { 2578 friend class TranscendentalCache; variable 2583 TranscendentalCache() { in TranscendentalCache() function 2598 DISALLOW_COPY_AND_ASSIGN(TranscendentalCache);
|
D | isolate.h | 812 TranscendentalCache* transcendental_cache() const { in transcendental_cache() 1174 TranscendentalCache* transcendental_cache_;
|
D | code-stubs.h | 53 V(TranscendentalCache) \
|
D | hydrogen-instructions.h | 3401 transcendental_type_(TranscendentalCache::kNumberOfCaches) { 3408 void set_transcendental_type(TranscendentalCache::Type transcendental_type) { 3411 TranscendentalCache::Type transcendental_type() { 3425 TranscendentalCache::Type transcendental_type_;
|
D | hydrogen.cc | 7529 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1); in GenerateMathSin() 7530 result->set_transcendental_type(TranscendentalCache::SIN); in GenerateMathSin() 7541 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1); in GenerateMathCos() 7542 result->set_transcendental_type(TranscendentalCache::COS); in GenerateMathCos() 7553 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1); in GenerateMathTan() 7554 result->set_transcendental_type(TranscendentalCache::TAN); in GenerateMathTan() 7565 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1); in GenerateMathLog() 7566 result->set_transcendental_type(TranscendentalCache::LOG); in GenerateMathLog()
|
/external/v8/src/mips/ |
D | codegen-mips.cc | 40 UnaryMathFunction CreateTranscendentalFunction(TranscendentalCache::Type type) { in CreateTranscendentalFunction() 42 case TranscendentalCache::SIN: return &sin; in CreateTranscendentalFunction() 43 case TranscendentalCache::COS: return &cos; in CreateTranscendentalFunction() 44 case TranscendentalCache::TAN: return &tan; in CreateTranscendentalFunction() 45 case TranscendentalCache::LOG: return &log; in CreateTranscendentalFunction()
|
D | code-stubs-mips.h | 43 TAGGED = 0 << TranscendentalCache::kTranscendentalTypeBits, 44 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits 47 TranscendentalCacheStub(TranscendentalCache::Type type, in TranscendentalCacheStub() 52 TranscendentalCache::Type type_; 56 Major MajorKey() { return TranscendentalCache; } in MajorKey()
|
D | code-stubs-mips.cc | 3387 ASSERT(IsPowerOf2(TranscendentalCache::SubCache::kCacheSize)); in Generate() 3388 __ And(a1, a1, Operand(TranscendentalCache::SubCache::kCacheSize - 1)); in Generate() 3405 { TranscendentalCache::SubCache::Element test_elem[2]; in Generate() 3533 case TranscendentalCache::SIN: in GenerateCallCFunction() 3538 case TranscendentalCache::COS: in GenerateCallCFunction() 3543 case TranscendentalCache::TAN: in GenerateCallCFunction() 3547 case TranscendentalCache::LOG: in GenerateCallCFunction() 3563 case TranscendentalCache::SIN: return Runtime::kMath_sin; in RuntimeFunction() 3564 case TranscendentalCache::COS: return Runtime::kMath_cos; in RuntimeFunction() 3565 case TranscendentalCache::TAN: return Runtime::kMath_tan; in RuntimeFunction() [all …]
|
D | full-codegen-mips.cc | 3295 TranscendentalCacheStub stub(TranscendentalCache::SIN, in EmitMathSin() 3308 TranscendentalCacheStub stub(TranscendentalCache::COS, in EmitMathCos() 3321 TranscendentalCacheStub stub(TranscendentalCache::TAN, in EmitMathTan() 3334 TranscendentalCacheStub stub(TranscendentalCache::LOG, in EmitMathLog()
|
/external/v8/src/x64/ |
D | codegen-x64.cc | 58 UnaryMathFunction CreateTranscendentalFunction(TranscendentalCache::Type type) { in CreateTranscendentalFunction() 67 case TranscendentalCache::SIN: return &sin; in CreateTranscendentalFunction() 68 case TranscendentalCache::COS: return &cos; in CreateTranscendentalFunction() 69 case TranscendentalCache::TAN: return &tan; in CreateTranscendentalFunction() 70 case TranscendentalCache::LOG: return &log; in CreateTranscendentalFunction()
|
D | code-stubs-x64.h | 44 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits 47 explicit TranscendentalCacheStub(TranscendentalCache::Type type, in TranscendentalCacheStub() 52 TranscendentalCache::Type type); 54 TranscendentalCache::Type type_; 57 Major MajorKey() { return TranscendentalCache; } in MajorKey()
|
D | code-stubs-x64.cc | 1570 ASSERT(IsPowerOf2(TranscendentalCache::SubCache::kCacheSize)); in Generate() 1571 __ andl(rcx, Immediate(TranscendentalCache::SubCache::kCacheSize - 1)); in Generate() 1589 TranscendentalCache::SubCache::Element test_elem[2]; in Generate() 1687 case TranscendentalCache::SIN: return Runtime::kMath_sin; in RuntimeFunction() 1688 case TranscendentalCache::COS: return Runtime::kMath_cos; in RuntimeFunction() 1689 case TranscendentalCache::TAN: return Runtime::kMath_tan; in RuntimeFunction() 1690 case TranscendentalCache::LOG: return Runtime::kMath_log; in RuntimeFunction() 1699 MacroAssembler* masm, TranscendentalCache::Type type) { in GenerateOperation() 1706 if (type == TranscendentalCache::SIN || in GenerateOperation() 1707 type == TranscendentalCache::COS || in GenerateOperation() [all …]
|
D | lithium-codegen-x64.cc | 755 case CodeStub::TranscendentalCache: { in DoCallStub() 3108 TranscendentalCacheStub stub(TranscendentalCache::LOG, in DoMathLog() 3116 TranscendentalCacheStub stub(TranscendentalCache::TAN, in DoMathTan() 3124 TranscendentalCacheStub stub(TranscendentalCache::COS, in DoMathCos() 3132 TranscendentalCacheStub stub(TranscendentalCache::SIN, in DoMathSin()
|
D | full-codegen-x64.cc | 3094 TranscendentalCacheStub stub(TranscendentalCache::SIN, in EmitMathSin() 3106 TranscendentalCacheStub stub(TranscendentalCache::COS, in EmitMathCos() 3118 TranscendentalCacheStub stub(TranscendentalCache::TAN, in EmitMathTan() 3130 TranscendentalCacheStub stub(TranscendentalCache::LOG, in EmitMathLog()
|
/external/v8/src/ia32/ |
D | code-stubs-ia32.h | 45 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits 48 TranscendentalCacheStub(TranscendentalCache::Type type, in TranscendentalCacheStub() 53 TranscendentalCache::Type type); 55 TranscendentalCache::Type type_; 58 Major MajorKey() { return TranscendentalCache; } in MajorKey()
|
D | codegen-ia32.cc | 60 UnaryMathFunction CreateTranscendentalFunction(TranscendentalCache::Type type) { in CreateTranscendentalFunction() 69 case TranscendentalCache::SIN: return &sin; in CreateTranscendentalFunction() 70 case TranscendentalCache::COS: return &cos; in CreateTranscendentalFunction() 71 case TranscendentalCache::TAN: return &tan; in CreateTranscendentalFunction() 72 case TranscendentalCache::LOG: return &log; in CreateTranscendentalFunction()
|
D | code-stubs-ia32.cc | 2446 ASSERT(IsPowerOf2(TranscendentalCache::SubCache::kCacheSize)); in Generate() 2448 Immediate(TranscendentalCache::SubCache::kCacheSize - 1)); in Generate() 2466 { TranscendentalCache::SubCache::Element test_elem[2]; in Generate() 2570 case TranscendentalCache::SIN: return Runtime::kMath_sin; in RuntimeFunction() 2571 case TranscendentalCache::COS: return Runtime::kMath_cos; in RuntimeFunction() 2572 case TranscendentalCache::TAN: return Runtime::kMath_tan; in RuntimeFunction() 2573 case TranscendentalCache::LOG: return Runtime::kMath_log; in RuntimeFunction() 2582 MacroAssembler* masm, TranscendentalCache::Type type) { in GenerateOperation() 2587 if (type == TranscendentalCache::SIN || in GenerateOperation() 2588 type == TranscendentalCache::COS || in GenerateOperation() [all …]
|