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

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

Issue 1338713004: MIPS: Fix testcases r6_beqzc and mov. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Corrections according review comments. Created 5 years, 3 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 | « no previous file | src/mips64/assembler-mips64.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 2304 matching lines...) Expand 10 before | Expand all | Expand 10 after
2315 GenInstrRegister(COP1, S, f0, fs, fd, ABS_S); 2315 GenInstrRegister(COP1, S, f0, fs, fd, ABS_S);
2316 } 2316 }
2317 2317
2318 2318
2319 void Assembler::abs_d(FPURegister fd, FPURegister fs) { 2319 void Assembler::abs_d(FPURegister fd, FPURegister fs) {
2320 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D); 2320 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D);
2321 } 2321 }
2322 2322
2323 2323
2324 void Assembler::mov_d(FPURegister fd, FPURegister fs) { 2324 void Assembler::mov_d(FPURegister fd, FPURegister fs) {
2325 GenInstrRegister(COP1, D, f0, fs, fd, MOV_S); 2325 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D);
2326 } 2326 }
2327 2327
2328 2328
2329 void Assembler::mov_s(FPURegister fd, FPURegister fs) { 2329 void Assembler::mov_s(FPURegister fd, FPURegister fs) {
2330 GenInstrRegister(COP1, S, f0, fs, fd, MOV_D); 2330 GenInstrRegister(COP1, S, f0, fs, fd, MOV_S);
2331 } 2331 }
2332 2332
2333 2333
2334 void Assembler::neg_s(FPURegister fd, FPURegister fs) { 2334 void Assembler::neg_s(FPURegister fd, FPURegister fs) {
2335 GenInstrRegister(COP1, S, f0, fs, fd, NEG_S); 2335 GenInstrRegister(COP1, S, f0, fs, fd, NEG_S);
2336 } 2336 }
2337 2337
2338 2338
2339 void Assembler::neg_d(FPURegister fd, FPURegister fs) { 2339 void Assembler::neg_d(FPURegister fd, FPURegister fs) {
2340 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D); 2340 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D);
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
3096 if (patched) { 3096 if (patched) {
3097 CpuFeatures::FlushICache(pc + 2, sizeof(Address)); 3097 CpuFeatures::FlushICache(pc + 2, sizeof(Address));
3098 } 3098 }
3099 } 3099 }
3100 3100
3101 3101
3102 } // namespace internal 3102 } // namespace internal
3103 } // namespace v8 3103 } // namespace v8
3104 3104
3105 #endif // V8_TARGET_ARCH_MIPS 3105 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips64/assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698