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

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

Issue 197873029: Tweaked FlooringDiv back to TruncatingDiv again. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased 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/a64/macro-assembler-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 1674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1685 // * The exit frame is dropped. 1685 // * The exit frame is dropped.
1686 // * The stack pointer is reset to jssp. 1686 // * The stack pointer is reset to jssp.
1687 // 1687 //
1688 // The stack pointer must be csp on entry. 1688 // The stack pointer must be csp on entry.
1689 void LeaveExitFrame(bool save_doubles, 1689 void LeaveExitFrame(bool save_doubles,
1690 const Register& scratch, 1690 const Register& scratch,
1691 bool restore_context); 1691 bool restore_context);
1692 1692
1693 void LoadContext(Register dst, int context_chain_length); 1693 void LoadContext(Register dst, int context_chain_length);
1694 1694
1695 // Emit code for a flooring division by a constant. The dividend register is 1695 // Emit code for a truncating division by a constant. The dividend register is
1696 // unchanged. Dividend and result must be different. 1696 // unchanged. Dividend and result must be different.
1697 void FlooringDiv(Register result, Register dividend, int32_t divisor); 1697 void TruncatingDiv(Register result, Register dividend, int32_t divisor);
1698 1698
1699 // --------------------------------------------------------------------------- 1699 // ---------------------------------------------------------------------------
1700 // StatsCounter support 1700 // StatsCounter support
1701 1701
1702 void SetCounter(StatsCounter* counter, int value, Register scratch1, 1702 void SetCounter(StatsCounter* counter, int value, Register scratch1,
1703 Register scratch2); 1703 Register scratch2);
1704 void IncrementCounter(StatsCounter* counter, int value, Register scratch1, 1704 void IncrementCounter(StatsCounter* counter, int value, Register scratch1,
1705 Register scratch2); 1705 Register scratch2);
1706 void DecrementCounter(StatsCounter* counter, int value, Register scratch1, 1706 void DecrementCounter(StatsCounter* counter, int value, Register scratch1,
1707 Register scratch2); 1707 Register scratch2);
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
2294 #error "Unsupported option" 2294 #error "Unsupported option"
2295 #define CODE_COVERAGE_STRINGIFY(x) #x 2295 #define CODE_COVERAGE_STRINGIFY(x) #x
2296 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2296 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2297 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2297 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2298 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2298 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2299 #else 2299 #else
2300 #define ACCESS_MASM(masm) masm-> 2300 #define ACCESS_MASM(masm) masm->
2301 #endif 2301 #endif
2302 2302
2303 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ 2303 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-codegen-a64.cc ('k') | src/a64/macro-assembler-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698