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

Side by Side Diff: src/mips/macro-assembler-mips.cc

Issue 8366031: MIPS: Porting r9605 to arm (elements kind conversion in generated code). (Closed)
Patch Set: Remove unneeded moves to v0, per review comments. Created 9 years, 2 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
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/mips/stub-cache-mips.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 2855 matching lines...) Expand 10 before | Expand all | Expand 10 after
2866 li(scratch1, 0x7191); 2866 li(scratch1, 0x7191);
2867 li(scratch2, 0x7291); 2867 li(scratch2, 0x7291);
2868 } 2868 }
2869 jmp(gc_required); 2869 jmp(gc_required);
2870 return; 2870 return;
2871 } 2871 }
2872 2872
2873 ASSERT(!result.is(scratch1)); 2873 ASSERT(!result.is(scratch1));
2874 ASSERT(!result.is(scratch2)); 2874 ASSERT(!result.is(scratch2));
2875 ASSERT(!scratch1.is(scratch2)); 2875 ASSERT(!scratch1.is(scratch2));
2876 ASSERT(!object_size.is(t9));
2876 ASSERT(!scratch1.is(t9) && !scratch2.is(t9) && !result.is(t9)); 2877 ASSERT(!scratch1.is(t9) && !scratch2.is(t9) && !result.is(t9));
2877 2878
2878 // Check relative positions of allocation top and limit addresses. 2879 // Check relative positions of allocation top and limit addresses.
2879 // ARM adds additional checks to make sure the ldm instruction can be 2880 // ARM adds additional checks to make sure the ldm instruction can be
2880 // used. On MIPS we don't have ldm so we don't need additional checks either. 2881 // used. On MIPS we don't have ldm so we don't need additional checks either.
2881 ExternalReference new_space_allocation_top = 2882 ExternalReference new_space_allocation_top =
2882 ExternalReference::new_space_allocation_top_address(isolate()); 2883 ExternalReference::new_space_allocation_top_address(isolate());
2883 ExternalReference new_space_allocation_limit = 2884 ExternalReference new_space_allocation_limit =
2884 ExternalReference::new_space_allocation_limit_address(isolate()); 2885 ExternalReference::new_space_allocation_limit_address(isolate());
2885 intptr_t top = 2886 intptr_t top =
(...skipping 2249 matching lines...) Expand 10 before | Expand all | Expand 10 after
5135 opcode == BGTZL); 5136 opcode == BGTZL);
5136 opcode = (cond == eq) ? BEQ : BNE; 5137 opcode = (cond == eq) ? BEQ : BNE;
5137 instr = (instr & ~kOpcodeMask) | opcode; 5138 instr = (instr & ~kOpcodeMask) | opcode;
5138 masm_.emit(instr); 5139 masm_.emit(instr);
5139 } 5140 }
5140 5141
5141 5142
5142 } } // namespace v8::internal 5143 } } // namespace v8::internal
5143 5144
5144 #endif // V8_TARGET_ARCH_MIPS 5145 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/ic-mips.cc ('k') | src/mips/stub-cache-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698