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

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

Issue 11428137: ARM: Make use of d16-d31 when available. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 11 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/lithium-codegen-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 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 990
991 // Count leading zeros in a 32 bit word. On ARM5 and later it uses the clz 991 // Count leading zeros in a 32 bit word. On ARM5 and later it uses the clz
992 // instruction. On pre-ARM5 hardware this routine gives the wrong answer 992 // instruction. On pre-ARM5 hardware this routine gives the wrong answer
993 // for 0 (31 instead of 32). Source and scratch can be the same in which case 993 // for 0 (31 instead of 32). Source and scratch can be the same in which case
994 // the source is clobbered. Source and zeros can also be the same in which 994 // the source is clobbered. Source and zeros can also be the same in which
995 // case scratch should be a different register. 995 // case scratch should be a different register.
996 void CountLeadingZeros(Register zeros, 996 void CountLeadingZeros(Register zeros,
997 Register source, 997 Register source,
998 Register scratch); 998 Register scratch);
999 999
1000 // Check whether d16-d31 are available on the CPU. The result is given by the
1001 // Z condition flag: Z==0 if d16-d31 available, Z==1 otherwise.
1002 void CheckFor32DRegs(Register scratch);
1003
1004
1000 // --------------------------------------------------------------------------- 1005 // ---------------------------------------------------------------------------
1001 // Runtime calls 1006 // Runtime calls
1002 1007
1003 // Call a code stub. 1008 // Call a code stub.
1004 void CallStub(CodeStub* stub, 1009 void CallStub(CodeStub* stub,
1005 TypeFeedbackId ast_id = TypeFeedbackId::None(), 1010 TypeFeedbackId ast_id = TypeFeedbackId::None(),
1006 Condition cond = al); 1011 Condition cond = al);
1007 1012
1008 // Call a code stub. 1013 // Call a code stub.
1009 void TailCallStub(CodeStub* stub, Condition cond = al); 1014 void TailCallStub(CodeStub* stub, Condition cond = al);
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1427 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1432 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1428 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1433 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1429 #else 1434 #else
1430 #define ACCESS_MASM(masm) masm-> 1435 #define ACCESS_MASM(masm) masm->
1431 #endif 1436 #endif
1432 1437
1433 1438
1434 } } // namespace v8::internal 1439 } } // namespace v8::internal
1435 1440
1436 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1441 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698