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

Side by Side Diff: src/mips/assembler-mips.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
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/mips64/assembler-mips64.h » ('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 2101 matching lines...) Expand 10 before | Expand all | Expand 10 after
2112 void Assembler::div_s(FPURegister fd, FPURegister fs, FPURegister ft) { 2112 void Assembler::div_s(FPURegister fd, FPURegister fs, FPURegister ft) {
2113 GenInstrRegister(COP1, S, ft, fs, fd, DIV_D); 2113 GenInstrRegister(COP1, S, ft, fs, fd, DIV_D);
2114 } 2114 }
2115 2115
2116 2116
2117 void Assembler::div_d(FPURegister fd, FPURegister fs, FPURegister ft) { 2117 void Assembler::div_d(FPURegister fd, FPURegister fs, FPURegister ft) {
2118 GenInstrRegister(COP1, D, ft, fs, fd, DIV_D); 2118 GenInstrRegister(COP1, D, ft, fs, fd, DIV_D);
2119 } 2119 }
2120 2120
2121 2121
2122 void Assembler::abs_s(FPURegister fd, FPURegister fs) {
2123 GenInstrRegister(COP1, S, f0, fs, fd, ABS_D);
2124 }
2125
2126
2122 void Assembler::abs_d(FPURegister fd, FPURegister fs) { 2127 void Assembler::abs_d(FPURegister fd, FPURegister fs) {
2123 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D); 2128 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D);
2124 } 2129 }
2125 2130
2126 2131
2127 void Assembler::mov_d(FPURegister fd, FPURegister fs) { 2132 void Assembler::mov_d(FPURegister fd, FPURegister fs) {
2128 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D); 2133 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D);
2129 } 2134 }
2130 2135
2131 2136
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
2786 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { 2791 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {
2787 // No out-of-line constant pool support. 2792 // No out-of-line constant pool support.
2788 DCHECK(!FLAG_enable_ool_constant_pool); 2793 DCHECK(!FLAG_enable_ool_constant_pool);
2789 return; 2794 return;
2790 } 2795 }
2791 2796
2792 2797
2793 } } // namespace v8::internal 2798 } } // namespace v8::internal
2794 2799
2795 #endif // V8_TARGET_ARCH_MIPS 2800 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.h ('k') | src/mips64/assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698