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

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

Issue 14246032: RecordWriteStubs on ARM need to save FP registers (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review from Ulan 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/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 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 // 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
997 // 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.
998 void CheckFor32DRegs(Register scratch); 998 void CheckFor32DRegs(Register scratch);
999 999
1000 // Does a runtime check for 16/32 FP registers. Either way, pushes 32 double
1001 // values to location, saving [d0..(d15|d31)].
1002 void SaveFPRegs(Register location, Register scratch);
1003
1004 // Does a runtime check for 16/32 FP registers. Either way, pops 32 double
1005 // values to location, restoring [d0..(d15|d31)].
1006 void RestoreFPRegs(Register location, Register scratch);
1000 1007
1001 // --------------------------------------------------------------------------- 1008 // ---------------------------------------------------------------------------
1002 // Runtime calls 1009 // Runtime calls
1003 1010
1004 // Call a code stub. 1011 // Call a code stub.
1005 void CallStub(CodeStub* stub, 1012 void CallStub(CodeStub* stub,
1006 TypeFeedbackId ast_id = TypeFeedbackId::None(), 1013 TypeFeedbackId ast_id = TypeFeedbackId::None(),
1007 Condition cond = al); 1014 Condition cond = al);
1008 1015
1009 // Call a code stub. 1016 // Call a code stub.
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1448 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1442 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1449 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1443 #else 1450 #else
1444 #define ACCESS_MASM(masm) masm-> 1451 #define ACCESS_MASM(masm) masm->
1445 #endif 1452 #endif
1446 1453
1447 1454
1448 } } // namespace v8::internal 1455 } } // namespace v8::internal
1449 1456
1450 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1457 #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