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

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

Issue 1642303002: Add the VMLS instruction to the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix comment in test. 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 994 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 void Assembler::vmlas(SRegister sd, SRegister sn, SRegister sm, 1005 void Assembler::vmlas(SRegister sd, SRegister sn, SRegister sm,
1006 Condition cond) { 1006 Condition cond) {
1007 EmitVFPsss(cond, 0, sd, sn, sm); 1007 EmitVFPsss(cond, 0, sd, sn, sm);
1008 } 1008 }
1009 1009
1010 // Moved to Arm32::AssemblerARM32::vmlad() 1010 // Moved to Arm32::AssemblerARM32::vmlad()
1011 void Assembler::vmlad(DRegister dd, DRegister dn, DRegister dm, 1011 void Assembler::vmlad(DRegister dd, DRegister dn, DRegister dm,
1012 Condition cond) { 1012 Condition cond) {
1013 EmitVFPddd(cond, 0, dd, dn, dm); 1013 EmitVFPddd(cond, 0, dd, dn, dm);
1014 } 1014 }
1015 #endif
1016 1015
1017 1016 // Moved to Arm32::AssemblerARM32::vmlss()
1018 void Assembler::vmlss(SRegister sd, SRegister sn, SRegister sm, 1017 void Assembler::vmlss(SRegister sd, SRegister sn, SRegister sm,
1019 Condition cond) { 1018 Condition cond) {
1020 EmitVFPsss(cond, B6, sd, sn, sm); 1019 EmitVFPsss(cond, B6, sd, sn, sm);
1021 } 1020 }
1022 1021
1023 1022 // Moved to Arm32::AssemblerARM32::vmlsd()
1024 void Assembler::vmlsd(DRegister dd, DRegister dn, DRegister dm, 1023 void Assembler::vmlsd(DRegister dd, DRegister dn, DRegister dm,
1025 Condition cond) { 1024 Condition cond) {
1026 EmitVFPddd(cond, B6, dd, dn, dm); 1025 EmitVFPddd(cond, B6, dd, dn, dm);
1027 } 1026 }
1028 1027
1029 #if 0
1030 // Moved to Arm32::AssemblerARM32::vdivs() 1028 // Moved to Arm32::AssemblerARM32::vdivs()
1031 void Assembler::vdivs(SRegister sd, SRegister sn, SRegister sm, 1029 void Assembler::vdivs(SRegister sd, SRegister sn, SRegister sm,
1032 Condition cond) { 1030 Condition cond) {
1033 EmitVFPsss(cond, B23, sd, sn, sm); 1031 EmitVFPsss(cond, B23, sd, sn, sm);
1034 } 1032 }
1035 1033
1036 // Moved to Arm32::AssemblerARM32::vdivd() 1034 // Moved to Arm32::AssemblerARM32::vdivd()
1037 void Assembler::vdivd(DRegister dd, DRegister dn, DRegister dm, 1035 void Assembler::vdivd(DRegister dd, DRegister dn, DRegister dm,
1038 Condition cond) { 1036 Condition cond) {
1039 EmitVFPddd(cond, B23, dd, dn, dm); 1037 EmitVFPddd(cond, B23, dd, dn, dm);
(...skipping 2648 matching lines...) Expand 10 before | Expand all | Expand 10 after
3688 3686
3689 3687
3690 const char* Assembler::FpuRegisterName(FpuRegister reg) { 3688 const char* Assembler::FpuRegisterName(FpuRegister reg) {
3691 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); 3689 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters));
3692 return fpu_reg_names[reg]; 3690 return fpu_reg_names[reg];
3693 } 3691 }
3694 3692
3695 } // namespace dart 3693 } // namespace dart
3696 3694
3697 #endif // defined TARGET_ARCH_ARM 3695 #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