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

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

Issue 14121006: ARM: Small copy optimization. Copying 64bits at a time. (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
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 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 Label* gc_required, 736 Label* gc_required,
737 TaggingMode tagging_mode = TAG_RESULT); 737 TaggingMode tagging_mode = TAG_RESULT);
738 void AllocateHeapNumberWithValue(Register result, 738 void AllocateHeapNumberWithValue(Register result,
739 DwVfpRegister value, 739 DwVfpRegister value,
740 Register scratch1, 740 Register scratch1,
741 Register scratch2, 741 Register scratch2,
742 Register heap_number_map, 742 Register heap_number_map,
743 Label* gc_required); 743 Label* gc_required);
744 744
745 // Copies a fixed number of fields of heap objects from src to dst. 745 // Copies a fixed number of fields of heap objects from src to dst.
746 void CopyFields(Register dst, Register src, RegList temps, int field_count); 746 void CopyFields(Register dst,
747 Register src,
748 DwVfpRegister double_scratch,
749 SwVfpRegister single_scratch,
750 int field_count);
747 751
748 // Copies a number of bytes from src to dst. All registers are clobbered. On 752 // Copies a number of bytes from src to dst. All registers are clobbered. On
749 // exit src and dst will point to the place just after where the last byte was 753 // exit src and dst will point to the place just after where the last byte was
750 // read or written and length will be zero. 754 // read or written and length will be zero.
751 void CopyBytes(Register src, 755 void CopyBytes(Register src,
752 Register dst, 756 Register dst,
753 Register length, 757 Register length,
754 Register scratch); 758 Register scratch);
755 759
756 // Initialize fields with filler values. Fields starting at |start_offset| 760 // Initialize fields with filler values. Fields starting at |start_offset|
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1435 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1432 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1436 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1433 #else 1437 #else
1434 #define ACCESS_MASM(masm) masm-> 1438 #define ACCESS_MASM(masm) masm->
1435 #endif 1439 #endif
1436 1440
1437 1441
1438 } } // namespace v8::internal 1442 } } // namespace v8::internal
1439 1443
1440 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1444 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698