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

Side by Side Diff: src/DartARM32/assembler_arm.cc

Issue 1657193003: Add FABS intrinsic to the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Format. Created 4 years, 10 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/DartARM32/assembler_arm.h ('k') | src/IceAssemblerARM32.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe 5 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe
6 // Please update the (git) revision if we merge changes from Dart. 6 // Please update the (git) revision if we merge changes from Dart.
7 // https://code.google.com/p/dart/wiki/GettingTheSource 7 // https://code.google.com/p/dart/wiki/GettingTheSource
8 8
9 #include "vm/globals.h" // NOLINT 9 #include "vm/globals.h" // NOLINT
10 #if defined(TARGET_ARCH_ARM) 10 #if defined(TARGET_ARCH_ARM)
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 void Assembler::vdivs(SRegister sd, SRegister sn, SRegister sm, 1029 void Assembler::vdivs(SRegister sd, SRegister sn, SRegister sm,
1030 Condition cond) { 1030 Condition cond) {
1031 EmitVFPsss(cond, B23, sd, sn, sm); 1031 EmitVFPsss(cond, B23, sd, sn, sm);
1032 } 1032 }
1033 1033
1034 // Moved to Arm32::AssemblerARM32::vdivd() 1034 // Moved to Arm32::AssemblerARM32::vdivd()
1035 void Assembler::vdivd(DRegister dd, DRegister dn, DRegister dm, 1035 void Assembler::vdivd(DRegister dd, DRegister dn, DRegister dm,
1036 Condition cond) { 1036 Condition cond) {
1037 EmitVFPddd(cond, B23, dd, dn, dm); 1037 EmitVFPddd(cond, B23, dd, dn, dm);
1038 } 1038 }
1039 #endif
1040 1039
1040 // Moved to Arm32::AssemblerARM32::vabss()
1041 void Assembler::vabss(SRegister sd, SRegister sm, Condition cond) { 1041 void Assembler::vabss(SRegister sd, SRegister sm, Condition cond) {
1042 EmitVFPsss(cond, B23 | B21 | B20 | B7 | B6, sd, S0, sm); 1042 EmitVFPsss(cond, B23 | B21 | B20 | B7 | B6, sd, S0, sm);
1043 } 1043 }
1044 1044
1045 1045 // Moved to Arm32::AssemblerARM32::vabsd()
1046 void Assembler::vabsd(DRegister dd, DRegister dm, Condition cond) { 1046 void Assembler::vabsd(DRegister dd, DRegister dm, Condition cond) {
1047 EmitVFPddd(cond, B23 | B21 | B20 | B7 | B6, dd, D0, dm); 1047 EmitVFPddd(cond, B23 | B21 | B20 | B7 | B6, dd, D0, dm);
1048 } 1048 }
1049 1049 #endif
1050 1050
1051 void Assembler::vnegs(SRegister sd, SRegister sm, Condition cond) { 1051 void Assembler::vnegs(SRegister sd, SRegister sm, Condition cond) {
1052 EmitVFPsss(cond, B23 | B21 | B20 | B16 | B6, sd, S0, sm); 1052 EmitVFPsss(cond, B23 | B21 | B20 | B16 | B6, sd, S0, sm);
1053 } 1053 }
1054 1054
1055 1055
1056 void Assembler::vnegd(DRegister dd, DRegister dm, Condition cond) { 1056 void Assembler::vnegd(DRegister dd, DRegister dm, Condition cond) {
1057 EmitVFPddd(cond, B23 | B21 | B20 | B16 | B6, dd, D0, dm); 1057 EmitVFPddd(cond, B23 | B21 | B20 | B16 | B6, dd, D0, dm);
1058 } 1058 }
1059 1059
(...skipping 2629 matching lines...) Expand 10 before | Expand all | Expand 10 after
3689 3689
3690 3690
3691 const char* Assembler::FpuRegisterName(FpuRegister reg) { 3691 const char* Assembler::FpuRegisterName(FpuRegister reg) {
3692 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); 3692 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters));
3693 return fpu_reg_names[reg]; 3693 return fpu_reg_names[reg];
3694 } 3694 }
3695 3695
3696 } // namespace dart 3696 } // namespace dart
3697 3697
3698 #endif // defined TARGET_ARCH_ARM 3698 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/DartARM32/assembler_arm.h ('k') | src/IceAssemblerARM32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698