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

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

Issue 14188016: ARM: clean up code now that ARMv6 is the baseline. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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/arm/debug-arm.cc ('k') | src/arm/macro-assembler-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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 // Performs a truncating conversion of a floating point number as used by 986 // Performs a truncating conversion of a floating point number as used by
987 // the JS bitwise operations. See ECMA-262 9.5: ToInt32. 987 // the JS bitwise operations. See ECMA-262 9.5: ToInt32.
988 // Exits with 'result' holding the answer and all other registers clobbered. 988 // Exits with 'result' holding the answer and all other registers clobbered.
989 void ECMAToInt32(Register result, 989 void ECMAToInt32(Register result,
990 DwVfpRegister double_input, 990 DwVfpRegister double_input,
991 DwVfpRegister double_scratch, 991 DwVfpRegister double_scratch,
992 Register scratch, 992 Register scratch,
993 Register input_high, 993 Register input_high,
994 Register input_low); 994 Register input_low);
995 995
996 // Count leading zeros in a 32 bit word. On ARM5 and later it uses the clz
997 // instruction. On pre-ARM5 hardware this routine gives the wrong answer
998 // for 0 (31 instead of 32). Source and scratch can be the same in which case
999 // the source is clobbered. Source and zeros can also be the same in which
1000 // case scratch should be a different register.
1001 void CountLeadingZeros(Register zeros,
1002 Register source,
1003 Register scratch);
1004
1005 // Check whether d16-d31 are available on the CPU. The result is given by the 996 // Check whether d16-d31 are available on the CPU. The result is given by the
1006 // Z condition flag: Z==0 if d16-d31 available, Z==1 otherwise. 997 // Z condition flag: Z==0 if d16-d31 available, Z==1 otherwise.
1007 void CheckFor32DRegs(Register scratch); 998 void CheckFor32DRegs(Register scratch);
1008 999
1009 1000
1010 // --------------------------------------------------------------------------- 1001 // ---------------------------------------------------------------------------
1011 // Runtime calls 1002 // Runtime calls
1012 1003
1013 // Call a code stub. 1004 // Call a code stub.
1014 void CallStub(CodeStub* stub, 1005 void CallStub(CodeStub* stub,
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1450 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1441 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1451 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1442 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1452 #else 1443 #else
1453 #define ACCESS_MASM(masm) masm-> 1444 #define ACCESS_MASM(masm) masm->
1454 #endif 1445 #endif
1455 1446
1456 1447
1457 } } // namespace v8::internal 1448 } } // namespace v8::internal
1458 1449
1459 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1450 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/debug-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698