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

Side by Side Diff: src/IceTargetLoweringARM32.cpp

Issue 1655363002: Add vector VEOR instruction to the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add DART file. 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/IceInstARM32.cpp ('k') | tests_lit/assembler/arm32/xor-vec.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===// 1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 2971 matching lines...) Expand 10 before | Expand all | Expand 10 after
2982 _vorr(T, Src0R, Src1R); 2982 _vorr(T, Src0R, Src1R);
2983 } else { 2983 } else {
2984 Operand *Src1RF = Srcs.src1RF(this); 2984 Operand *Src1RF = Srcs.src1RF(this);
2985 _orr(T, Src0R, Src1RF); 2985 _orr(T, Src0R, Src1RF);
2986 } 2986 }
2987 _mov(Dest, T); 2987 _mov(Dest, T);
2988 return; 2988 return;
2989 } 2989 }
2990 case InstArithmetic::Xor: { 2990 case InstArithmetic::Xor: {
2991 Variable *Src0R = Srcs.src0R(this); 2991 Variable *Src0R = Srcs.src0R(this);
2992 assert(isIntegerType(DestTy));
2992 if (isVectorType(DestTy)) { 2993 if (isVectorType(DestTy)) {
2993 Variable *Src1R = legalizeToReg(Src1); 2994 Variable *Src1R = legalizeToReg(Src1);
2994 _veor(T, Src0R, Src1R); 2995 _veor(T, Src0R, Src1R);
2995 } else { 2996 } else {
2996 Operand *Src1RF = Srcs.src1RF(this); 2997 Operand *Src1RF = Srcs.src1RF(this);
2997 _eor(T, Src0R, Src1RF); 2998 _eor(T, Src0R, Src1RF);
2998 } 2999 }
2999 _mov(Dest, T); 3000 _mov(Dest, T);
3000 return; 3001 return;
3001 } 3002 }
(...skipping 3520 matching lines...) Expand 10 before | Expand all | Expand 10 after
6522 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n"; 6523 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n";
6523 } 6524 }
6524 6525
6525 llvm::SmallBitVector TargetARM32::TypeToRegisterSet[RegARM32::RCARM32_NUM]; 6526 llvm::SmallBitVector TargetARM32::TypeToRegisterSet[RegARM32::RCARM32_NUM];
6526 llvm::SmallBitVector 6527 llvm::SmallBitVector
6527 TargetARM32::TypeToRegisterSetUnfiltered[RegARM32::RCARM32_NUM]; 6528 TargetARM32::TypeToRegisterSetUnfiltered[RegARM32::RCARM32_NUM];
6528 llvm::SmallBitVector TargetARM32::RegisterAliases[RegARM32::Reg_NUM]; 6529 llvm::SmallBitVector TargetARM32::RegisterAliases[RegARM32::Reg_NUM];
6529 6530
6530 } // end of namespace ARM32 6531 } // end of namespace ARM32
6531 } // end of namespace Ice 6532 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceInstARM32.cpp ('k') | tests_lit/assembler/arm32/xor-vec.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698