Home
last modified time | relevance | path

Searched refs:TranscendentalCache (Results 1 – 25 of 36) sorted by relevance

12

/external/v8/src/arm/
Dcodegen-arm.cc40 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()
Dcode-stubs-arm.h42 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()
Dcode-stubs-arm.cc3259 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 …]
Dfull-codegen-arm.cc3265 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/
Dplatform-posix.cc141 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()
Dcodegen.h92 UnaryMathFunction CreateTranscendentalFunction(TranscendentalCache::Type type);
Dheap-inl.h639 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()
Dplatform-win32.cc215 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()
Dheap.h2528 class TranscendentalCache {
2578 friend class TranscendentalCache; variable
2583 TranscendentalCache() { in TranscendentalCache() function
2598 DISALLOW_COPY_AND_ASSIGN(TranscendentalCache);
Disolate.h812 TranscendentalCache* transcendental_cache() const { in transcendental_cache()
1174 TranscendentalCache* transcendental_cache_;
Dcode-stubs.h53 V(TranscendentalCache) \
Dhydrogen-instructions.h3401 transcendental_type_(TranscendentalCache::kNumberOfCaches) {
3408 void set_transcendental_type(TranscendentalCache::Type transcendental_type) {
3411 TranscendentalCache::Type transcendental_type() {
3425 TranscendentalCache::Type transcendental_type_;
Dhydrogen.cc7529 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/
Dcodegen-mips.cc40 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()
Dcode-stubs-mips.h43 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()
Dcode-stubs-mips.cc3387 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 …]
Dfull-codegen-mips.cc3295 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/
Dcodegen-x64.cc58 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()
Dcode-stubs-x64.h44 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()
Dcode-stubs-x64.cc1570 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 …]
Dlithium-codegen-x64.cc755 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()
Dfull-codegen-x64.cc3094 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/
Dcode-stubs-ia32.h45 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()
Dcodegen-ia32.cc60 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()
Dcode-stubs-ia32.cc2446 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 …]

12