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

Side by Side Diff: src/s390/macro-assembler-s390.h

Issue 2591643005: S390 [Crankshaft]: Use LoadPositive for MathAbs (Closed)
Patch Set: Fix for John's comment Created 3 years, 12 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_ 5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_
6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ 6 #define V8_S390_MACRO_ASSEMBLER_S390_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 void LoadAndTestP(Register dst, const MemOperand& opnd); 367 void LoadAndTestP(Register dst, const MemOperand& opnd);
368 368
369 // Load Floating Point 369 // Load Floating Point
370 void LoadDouble(DoubleRegister dst, const MemOperand& opnd); 370 void LoadDouble(DoubleRegister dst, const MemOperand& opnd);
371 void LoadFloat32(DoubleRegister dst, const MemOperand& opnd); 371 void LoadFloat32(DoubleRegister dst, const MemOperand& opnd);
372 void LoadFloat32ConvertToDouble(DoubleRegister dst, const MemOperand& mem); 372 void LoadFloat32ConvertToDouble(DoubleRegister dst, const MemOperand& mem);
373 373
374 // Load On Condition 374 // Load On Condition
375 void LoadOnConditionP(Condition cond, Register dst, Register src); 375 void LoadOnConditionP(Condition cond, Register dst, Register src);
376 376
377 void LoadPositiveP(Register result, Register input);
378 void LoadPositive32(Register result, Register input);
379
377 // Store Floating Point 380 // Store Floating Point
378 void StoreDouble(DoubleRegister dst, const MemOperand& opnd); 381 void StoreDouble(DoubleRegister dst, const MemOperand& opnd);
379 void StoreFloat32(DoubleRegister dst, const MemOperand& opnd); 382 void StoreFloat32(DoubleRegister dst, const MemOperand& opnd);
380 void StoreDoubleAsFloat32(DoubleRegister src, const MemOperand& mem, 383 void StoreDoubleAsFloat32(DoubleRegister src, const MemOperand& mem,
381 DoubleRegister scratch); 384 DoubleRegister scratch);
382 385
383 void Branch(Condition c, const Operand& opnd); 386 void Branch(Condition c, const Operand& opnd);
384 void BranchOnCount(Register r1, Label* l); 387 void BranchOnCount(Register r1, Label* l);
385 388
386 // Shifts 389 // Shifts
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after
1810 inline MemOperand NativeContextMemOperand() { 1813 inline MemOperand NativeContextMemOperand() {
1811 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); 1814 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX);
1812 } 1815 }
1813 1816
1814 #define ACCESS_MASM(masm) masm-> 1817 #define ACCESS_MASM(masm) masm->
1815 1818
1816 } // namespace internal 1819 } // namespace internal
1817 } // namespace v8 1820 } // namespace v8
1818 1821
1819 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ 1822 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698