Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(931)

Side by Side Diff: src/arm/lithium-arm.h

Issue 189533008: Revert "Introduce intrinsics for double values in Javascript." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 V(CompareNumericAndBranch) \ 73 V(CompareNumericAndBranch) \
74 V(CmpObjectEqAndBranch) \ 74 V(CmpObjectEqAndBranch) \
75 V(CmpHoleAndBranch) \ 75 V(CmpHoleAndBranch) \
76 V(CmpMapAndBranch) \ 76 V(CmpMapAndBranch) \
77 V(CmpT) \ 77 V(CmpT) \
78 V(ConstantD) \ 78 V(ConstantD) \
79 V(ConstantE) \ 79 V(ConstantE) \
80 V(ConstantI) \ 80 V(ConstantI) \
81 V(ConstantS) \ 81 V(ConstantS) \
82 V(ConstantT) \ 82 V(ConstantT) \
83 V(ConstructDouble) \
84 V(Context) \ 83 V(Context) \
85 V(DateField) \ 84 V(DateField) \
86 V(DebugBreak) \ 85 V(DebugBreak) \
87 V(DeclareGlobals) \ 86 V(DeclareGlobals) \
88 V(Deoptimize) \ 87 V(Deoptimize) \
89 V(DivI) \ 88 V(DivI) \
90 V(DoubleBits) \
91 V(DoubleToI) \ 89 V(DoubleToI) \
92 V(DoubleToSmi) \ 90 V(DoubleToSmi) \
93 V(Drop) \ 91 V(Drop) \
94 V(Dummy) \ 92 V(Dummy) \
95 V(DummyUse) \ 93 V(DummyUse) \
96 V(ForInCacheArray) \ 94 V(ForInCacheArray) \
97 V(ForInPrepareMap) \ 95 V(ForInPrepareMap) \
98 V(FunctionLiteral) \ 96 V(FunctionLiteral) \
99 V(GetCachedArrayIndex) \ 97 V(GetCachedArrayIndex) \
100 V(Goto) \ 98 V(Goto) \
(...skipping 2280 matching lines...) Expand 10 before | Expand all | Expand 10 after
2381 temps_[0] = temp; 2379 temps_[0] = temp;
2382 } 2380 }
2383 2381
2384 LOperand* unclamped() { return inputs_[0]; } 2382 LOperand* unclamped() { return inputs_[0]; }
2385 LOperand* temp() { return temps_[0]; } 2383 LOperand* temp() { return temps_[0]; }
2386 2384
2387 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") 2385 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
2388 }; 2386 };
2389 2387
2390 2388
2391 class LDoubleBits V8_FINAL : public LTemplateInstruction<1, 1, 0> {
2392 public:
2393 explicit LDoubleBits(LOperand* value) {
2394 inputs_[0] = value;
2395 }
2396
2397 LOperand* value() { return inputs_[0]; }
2398
2399 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
2400 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
2401 };
2402
2403
2404 class LConstructDouble V8_FINAL : public LTemplateInstruction<1, 2, 0> {
2405 public:
2406 LConstructDouble(LOperand* hi, LOperand* lo) {
2407 inputs_[0] = hi;
2408 inputs_[1] = lo;
2409 }
2410
2411 LOperand* hi() { return inputs_[0]; }
2412 LOperand* lo() { return inputs_[1]; }
2413
2414 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double")
2415 };
2416
2417
2418 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 2> { 2389 class LAllocate V8_FINAL : public LTemplateInstruction<1, 2, 2> {
2419 public: 2390 public:
2420 LAllocate(LOperand* context, 2391 LAllocate(LOperand* context,
2421 LOperand* size, 2392 LOperand* size,
2422 LOperand* temp1, 2393 LOperand* temp1,
2423 LOperand* temp2) { 2394 LOperand* temp2) {
2424 inputs_[0] = context; 2395 inputs_[0] = context;
2425 inputs_[1] = size; 2396 inputs_[1] = size;
2426 temps_[0] = temp1; 2397 temps_[0] = temp1;
2427 temps_[1] = temp2; 2398 temps_[1] = temp2;
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
2772 2743
2773 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2744 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2774 }; 2745 };
2775 2746
2776 #undef DECLARE_HYDROGEN_ACCESSOR 2747 #undef DECLARE_HYDROGEN_ACCESSOR
2777 #undef DECLARE_CONCRETE_INSTRUCTION 2748 #undef DECLARE_CONCRETE_INSTRUCTION
2778 2749
2779 } } // namespace v8::internal 2750 } } // namespace v8::internal
2780 2751
2781 #endif // V8_ARM_LITHIUM_ARM_H_ 2752 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698