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

Side by Side Diff: src/IceInstARM32.cpp

Issue 1654803003: Improve readability of error messages for VADD in ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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/IceAssemblerARM32.cpp ('k') | no next file » | 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/IceInstARM32.cpp - ARM32 instruction implementation ----===// 1 //===- subzero/src/IceInstARM32.cpp - ARM32 instruction implementation ----===//
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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 case IceType_void: 614 case IceType_void:
615 case IceType_i1: 615 case IceType_i1:
616 case IceType_i8: 616 case IceType_i8:
617 case IceType_i16: 617 case IceType_i16:
618 case IceType_i32: 618 case IceType_i32:
619 case IceType_i64: 619 case IceType_i64:
620 case IceType_v4i1: 620 case IceType_v4i1:
621 case IceType_v8i1: 621 case IceType_v8i1:
622 case IceType_v16i1: 622 case IceType_v16i1:
623 case IceType_NUM: 623 case IceType_NUM:
624 llvm::report_fatal_error(std::string("Vadd not defined on type ") + 624 llvm::report_fatal_error("Vadd not defined on type " +
625 typeString(DestTy)); 625 std::string(typeString(DestTy)));
626 break; 626 break;
627 case IceType_v16i8: 627 case IceType_v16i8:
628 case IceType_v8i16: 628 case IceType_v8i16:
629 case IceType_v4i32: 629 case IceType_v4i32:
630 Asm->vaddqi(typeElementType(DestTy), Dest, getSrc(0), getSrc(1)); 630 Asm->vaddqi(typeElementType(DestTy), Dest, getSrc(0), getSrc(1));
631 break; 631 break;
632 case IceType_v4f32: 632 case IceType_v4f32:
633 Asm->vaddqf(Dest, getSrc(0), getSrc(1)); 633 Asm->vaddqf(Dest, getSrc(0), getSrc(1));
634 break; 634 break;
635 case IceType_f32: 635 case IceType_f32:
(...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after
2476 2476
2477 template class InstARM32FourAddrGPR<InstARM32::Mla>; 2477 template class InstARM32FourAddrGPR<InstARM32::Mla>;
2478 template class InstARM32FourAddrGPR<InstARM32::Mls>; 2478 template class InstARM32FourAddrGPR<InstARM32::Mls>;
2479 2479
2480 template class InstARM32CmpLike<InstARM32::Cmn>; 2480 template class InstARM32CmpLike<InstARM32::Cmn>;
2481 template class InstARM32CmpLike<InstARM32::Cmp>; 2481 template class InstARM32CmpLike<InstARM32::Cmp>;
2482 template class InstARM32CmpLike<InstARM32::Tst>; 2482 template class InstARM32CmpLike<InstARM32::Tst>;
2483 2483
2484 } // end of namespace ARM32 2484 } // end of namespace ARM32
2485 } // end of namespace Ice 2485 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceAssemblerARM32.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698