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

Side by Side Diff: src/mips64/assembler-mips64.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 | « src/mips/assembler-mips.cc ('k') | test/cctest/test-assembler-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 (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 2616 matching lines...) Expand 10 before | Expand all | Expand 10 after
2627 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D); 2627 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D);
2628 } 2628 }
2629 2629
2630 2630
2631 void Assembler::mov_d(FPURegister fd, FPURegister fs) { 2631 void Assembler::mov_d(FPURegister fd, FPURegister fs) {
2632 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D); 2632 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D);
2633 } 2633 }
2634 2634
2635 2635
2636 void Assembler::mov_s(FPURegister fd, FPURegister fs) { 2636 void Assembler::mov_s(FPURegister fd, FPURegister fs) {
2637 GenInstrRegister(COP1, S, f0, fs, fd, MOV_D); 2637 GenInstrRegister(COP1, S, f0, fs, fd, MOV_S);
2638 } 2638 }
2639 2639
2640 2640
2641 void Assembler::neg_s(FPURegister fd, FPURegister fs) { 2641 void Assembler::neg_s(FPURegister fd, FPURegister fs) {
2642 GenInstrRegister(COP1, S, f0, fs, fd, NEG_D); 2642 GenInstrRegister(COP1, S, f0, fs, fd, NEG_D);
2643 } 2643 }
2644 2644
2645 2645
2646 void Assembler::neg_d(FPURegister fd, FPURegister fs) { 2646 void Assembler::neg_d(FPURegister fd, FPURegister fs) {
2647 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D); 2647 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D);
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
3276 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { 3276 if (icache_flush_mode != SKIP_ICACHE_FLUSH) {
3277 CpuFeatures::FlushICache(pc, 4 * Assembler::kInstrSize); 3277 CpuFeatures::FlushICache(pc, 4 * Assembler::kInstrSize);
3278 } 3278 }
3279 } 3279 }
3280 3280
3281 3281
3282 } // namespace internal 3282 } // namespace internal
3283 } // namespace v8 3283 } // namespace v8
3284 3284
3285 #endif // V8_TARGET_ARCH_MIPS64 3285 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | test/cctest/test-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698