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

Side by Side Diff: src/compiler/arm64/code-generator-arm64.cc

Issue 730183005: [turbofan] Recognize sign extension of 8-bit and 16-bit values on arm64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | src/compiler/arm64/instruction-codes-arm64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm64/macro-assembler-arm64.h" 7 #include "src/arm64/macro-assembler-arm64.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 break; 409 break;
410 case kArm64Ror: 410 case kArm64Ror:
411 ASSEMBLE_SHIFT(Ror, 64); 411 ASSEMBLE_SHIFT(Ror, 64);
412 break; 412 break;
413 case kArm64Ror32: 413 case kArm64Ror32:
414 ASSEMBLE_SHIFT(Ror, 32); 414 ASSEMBLE_SHIFT(Ror, 32);
415 break; 415 break;
416 case kArm64Mov32: 416 case kArm64Mov32:
417 __ Mov(i.OutputRegister32(), i.InputRegister32(0)); 417 __ Mov(i.OutputRegister32(), i.InputRegister32(0));
418 break; 418 break;
419 case kArm64Sxtb32:
420 __ Sxtb(i.OutputRegister32(), i.InputRegister32(0));
421 break;
422 case kArm64Sxth32:
423 __ Sxth(i.OutputRegister32(), i.InputRegister32(0));
424 break;
419 case kArm64Sxtw: 425 case kArm64Sxtw:
420 __ Sxtw(i.OutputRegister(), i.InputRegister32(0)); 426 __ Sxtw(i.OutputRegister(), i.InputRegister32(0));
421 break; 427 break;
422 case kArm64Ubfx: 428 case kArm64Ubfx:
423 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt8(1), 429 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt8(1),
424 i.InputInt8(2)); 430 i.InputInt8(2));
425 break; 431 break;
426 case kArm64Ubfx32: 432 case kArm64Ubfx32:
427 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt8(1), 433 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt8(1),
428 i.InputInt8(2)); 434 i.InputInt8(2));
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 } 1013 }
1008 } 1014 }
1009 MarkLazyDeoptSite(); 1015 MarkLazyDeoptSite();
1010 } 1016 }
1011 1017
1012 #undef __ 1018 #undef __
1013 1019
1014 } // namespace compiler 1020 } // namespace compiler
1015 } // namespace internal 1021 } // namespace internal
1016 } // namespace v8 1022 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-codes-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698