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

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

Issue 1073463003: MIPS: [turbofan] Add new Float32Abs and Float64Abs operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add missing unittest. Created 5 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
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 2303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2314 void Assembler::div_s(FPURegister fd, FPURegister fs, FPURegister ft) { 2314 void Assembler::div_s(FPURegister fd, FPURegister fs, FPURegister ft) {
2315 GenInstrRegister(COP1, S, ft, fs, fd, DIV_D); 2315 GenInstrRegister(COP1, S, ft, fs, fd, DIV_D);
2316 } 2316 }
2317 2317
2318 2318
2319 void Assembler::div_d(FPURegister fd, FPURegister fs, FPURegister ft) { 2319 void Assembler::div_d(FPURegister fd, FPURegister fs, FPURegister ft) {
2320 GenInstrRegister(COP1, D, ft, fs, fd, DIV_D); 2320 GenInstrRegister(COP1, D, ft, fs, fd, DIV_D);
2321 } 2321 }
2322 2322
2323 2323
2324 void Assembler::abs_s(FPURegister fd, FPURegister fs) {
2325 GenInstrRegister(COP1, S, f0, fs, fd, ABS_D);
2326 }
2327
2328
2324 void Assembler::abs_d(FPURegister fd, FPURegister fs) { 2329 void Assembler::abs_d(FPURegister fd, FPURegister fs) {
2325 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D); 2330 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D);
2326 } 2331 }
2327 2332
2328 2333
2329 void Assembler::mov_d(FPURegister fd, FPURegister fs) { 2334 void Assembler::mov_d(FPURegister fd, FPURegister fs) {
2330 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D); 2335 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D);
2331 } 2336 }
2332 2337
2333 2338
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
2894 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { 2899 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {
2895 // No out-of-line constant pool support. 2900 // No out-of-line constant pool support.
2896 DCHECK(!FLAG_enable_ool_constant_pool); 2901 DCHECK(!FLAG_enable_ool_constant_pool);
2897 return; 2902 return;
2898 } 2903 }
2899 2904
2900 2905
2901 } } // namespace v8::internal 2906 } } // namespace v8::internal
2902 2907
2903 #endif // V8_TARGET_ARCH_MIPS64 2908 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.h ('k') | test/unittests/compiler/mips/instruction-selector-mips-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698