Home
last modified time | relevance | path

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

/external/v8/src/arm/
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.cc2791 ASSERT(IsPowerOf2(TranscendentalCache::SubCache::kCacheSize)); in Generate()
2792 __ And(r1, r1, Operand(TranscendentalCache::SubCache::kCacheSize - 1)); in Generate()
2812 { TranscendentalCache::SubCache::Element test_elem[2]; in Generate()
2920 case TranscendentalCache::SIN: in GenerateCallCFunction()
2923 case TranscendentalCache::COS: in GenerateCallCFunction()
2926 case TranscendentalCache::LOG: in GenerateCallCFunction()
2940 case TranscendentalCache::SIN: return Runtime::kMath_sin; in RuntimeFunction()
2941 case TranscendentalCache::COS: return Runtime::kMath_cos; in RuntimeFunction()
2942 case TranscendentalCache::LOG: return Runtime::kMath_log; in RuntimeFunction()
Dlithium-codegen-arm.cc813 case CodeStub::TranscendentalCache: { in DoCallStub()
2983 TranscendentalCacheStub stub(TranscendentalCache::LOG, in DoMathLog()
2991 TranscendentalCacheStub stub(TranscendentalCache::COS, in DoMathCos()
2999 TranscendentalCacheStub stub(TranscendentalCache::SIN, in DoMathSin()
Dfull-codegen-arm.cc3121 TranscendentalCacheStub stub(TranscendentalCache::SIN, in EmitMathSin()
3132 TranscendentalCacheStub stub(TranscendentalCache::COS, in EmitMathCos()
3143 TranscendentalCacheStub stub(TranscendentalCache::LOG, in EmitMathLog()
Dlithium-arm.h441 TranscendentalCache::Type transcendental_type() { in DECLARE_HYDROGEN_ACCESSOR()
/external/v8/src/x64/
Dcode-stubs-x64.h44 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits
47 explicit TranscendentalCacheStub(TranscendentalCache::Type type, in TranscendentalCacheStub()
52 TranscendentalCache::Type type_;
55 Major MajorKey() { return TranscendentalCache; } in MajorKey()
Dcode-stubs-x64.cc957 ASSERT(IsPowerOf2(TranscendentalCache::SubCache::kCacheSize)); in Generate()
958 __ andl(rcx, Immediate(TranscendentalCache::SubCache::kCacheSize - 1)); in Generate()
976 TranscendentalCache::SubCache::Element test_elem[2]; in Generate()
1069 case TranscendentalCache::SIN: return Runtime::kMath_sin; in RuntimeFunction()
1070 case TranscendentalCache::COS: return Runtime::kMath_cos; in RuntimeFunction()
1071 case TranscendentalCache::LOG: return Runtime::kMath_log; in RuntimeFunction()
1086 if (type_ == TranscendentalCache::SIN || type_ == TranscendentalCache::COS) { in GenerateOperation()
1150 case TranscendentalCache::SIN: in GenerateOperation()
1153 case TranscendentalCache::COS: in GenerateOperation()
1161 ASSERT(type_ == TranscendentalCache::LOG); in GenerateOperation()
Dlithium-codegen-x64.cc757 case CodeStub::TranscendentalCache: { in DoCallStub()
2834 TranscendentalCacheStub stub(TranscendentalCache::LOG, in DoMathLog()
2842 TranscendentalCacheStub stub(TranscendentalCache::COS, in DoMathCos()
2850 TranscendentalCacheStub stub(TranscendentalCache::SIN, in DoMathSin()
Dfull-codegen-x64.cc3007 TranscendentalCacheStub stub(TranscendentalCache::SIN, in EmitMathSin()
3018 TranscendentalCacheStub stub(TranscendentalCache::COS, in EmitMathCos()
3029 TranscendentalCacheStub stub(TranscendentalCache::LOG, in EmitMathLog()
Dlithium-x64.h442 TranscendentalCache::Type transcendental_type() { in DECLARE_HYDROGEN_ACCESSOR()
/external/v8/src/ia32/
Dcode-stubs-ia32.h45 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits
48 TranscendentalCacheStub(TranscendentalCache::Type type, in TranscendentalCacheStub()
53 TranscendentalCache::Type type_;
56 Major MajorKey() { return TranscendentalCache; } in MajorKey()
Dcode-stubs-ia32.cc1682 ASSERT(IsPowerOf2(TranscendentalCache::SubCache::kCacheSize)); in Generate()
1684 Immediate(TranscendentalCache::SubCache::kCacheSize - 1)); in Generate()
1702 { TranscendentalCache::SubCache::Element test_elem[2]; in Generate()
1801 case TranscendentalCache::SIN: return Runtime::kMath_sin; in RuntimeFunction()
1802 case TranscendentalCache::COS: return Runtime::kMath_cos; in RuntimeFunction()
1803 case TranscendentalCache::LOG: return Runtime::kMath_log; in RuntimeFunction()
1816 if (type_ == TranscendentalCache::SIN || type_ == TranscendentalCache::COS) { in GenerateOperation()
1881 case TranscendentalCache::SIN: in GenerateOperation()
1884 case TranscendentalCache::COS: in GenerateOperation()
1892 ASSERT(type_ == TranscendentalCache::LOG); in GenerateOperation()
Dfull-codegen-ia32.cc3055 TranscendentalCacheStub stub(TranscendentalCache::SIN, in EmitMathSin()
3066 TranscendentalCacheStub stub(TranscendentalCache::COS, in EmitMathCos()
3077 TranscendentalCacheStub stub(TranscendentalCache::LOG, in EmitMathLog()
Dlithium-codegen-ia32.cc757 case CodeStub::TranscendentalCache: { in DoCallStub()
2852 TranscendentalCacheStub stub(TranscendentalCache::COS, in DoMathCos()
2860 TranscendentalCacheStub stub(TranscendentalCache::SIN, in DoMathSin()
Dlithium-ia32.h448 TranscendentalCache::Type transcendental_type() { in transcendental_type()
/external/v8/src/mips/
Dcode-stubs-mips.h42 explicit TranscendentalCacheStub(TranscendentalCache::Type type) in TranscendentalCacheStub()
46 TranscendentalCache::Type type_;
47 Major MajorKey() { return TranscendentalCache; } in MajorKey()
/external/v8/src/
Dheap-inl.h619 MaybeObject* TranscendentalCache::Get(Type type, double input) { in Get()
628 Address TranscendentalCache::cache_array_address() { in cache_array_address()
633 double TranscendentalCache::SubCache::Calculate(double input) { in Calculate()
657 MaybeObject* TranscendentalCache::SubCache::Get(double input) { in Get()
Dheap.h2123 class TranscendentalCache {
2173 friend class TranscendentalCache; variable
2178 TranscendentalCache() { in TranscendentalCache() function
2193 DISALLOW_COPY_AND_ASSIGN(TranscendentalCache);
Disolate.h827 TranscendentalCache* transcendental_cache() const { in transcendental_cache()
1159 TranscendentalCache* transcendental_cache_;
Dcode-stubs.h48 V(TranscendentalCache) \
Disolate.cc732 transcendental_cache_ = new TranscendentalCache(); in Init()
Dhydrogen-instructions.h2786 transcendental_type_(TranscendentalCache::kNumberOfCaches) { in HCallStub()
2793 void set_transcendental_type(TranscendentalCache::Type transcendental_type) { in set_transcendental_type()
2796 TranscendentalCache::Type transcendental_type() { in transcendental_type()
2810 TranscendentalCache::Type transcendental_type_;
Dhydrogen.cc5521 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1); in GenerateMathSin()
5522 result->set_transcendental_type(TranscendentalCache::SIN); in GenerateMathSin()
5535 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1); in GenerateMathCos()
5536 result->set_transcendental_type(TranscendentalCache::COS); in GenerateMathCos()
5549 new(zone()) HCallStub(context, CodeStub::TranscendentalCache, 1); in GenerateMathLog()
5550 result->set_transcendental_type(TranscendentalCache::LOG); in GenerateMathLog()
Druntime.cc6449 return isolate->transcendental_cache()->Get(TranscendentalCache::ACOS, x); in RUNTIME_FUNCTION()
6459 return isolate->transcendental_cache()->Get(TranscendentalCache::ASIN, x); in RUNTIME_FUNCTION()
6469 return isolate->transcendental_cache()->Get(TranscendentalCache::ATAN, x); in RUNTIME_FUNCTION()
6515 return isolate->transcendental_cache()->Get(TranscendentalCache::COS, x); in RUNTIME_FUNCTION()
6525 return isolate->transcendental_cache()->Get(TranscendentalCache::EXP, x); in RUNTIME_FUNCTION()
6545 return isolate->transcendental_cache()->Get(TranscendentalCache::LOG, x); in RUNTIME_FUNCTION()
6626 return isolate->transcendental_cache()->Get(TranscendentalCache::SIN, x); in RUNTIME_FUNCTION()
6646 return isolate->transcendental_cache()->Get(TranscendentalCache::TAN, x); in RUNTIME_FUNCTION()
Dheap.cc5810 TranscendentalCache::SubCache::SubCache(Type t) in SubCache()
5823 void TranscendentalCache::Clear() { in Clear()