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

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

Issue 2755373002: [arm64] The ubfx instruction can be used with a mask-width=64 (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | test/cctest/compiler/test-run-machops.cc » ('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/assembler-arm64-inl.h" 7 #include "src/arm64/assembler-arm64-inl.h"
8 #include "src/arm64/frames-arm64.h" 8 #include "src/arm64/frames-arm64.h"
9 #include "src/arm64/macro-assembler-arm64-inl.h" 9 #include "src/arm64/macro-assembler-arm64-inl.h"
10 #include "src/compilation-info.h" 10 #include "src/compilation-info.h"
(...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 break; 1184 break;
1185 case kArm64Sxtw: 1185 case kArm64Sxtw:
1186 __ Sxtw(i.OutputRegister(), i.InputRegister32(0)); 1186 __ Sxtw(i.OutputRegister(), i.InputRegister32(0));
1187 break; 1187 break;
1188 case kArm64Sbfx32: 1188 case kArm64Sbfx32:
1189 __ Sbfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), 1189 __ Sbfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1),
1190 i.InputInt5(2)); 1190 i.InputInt5(2));
1191 break; 1191 break;
1192 case kArm64Ubfx: 1192 case kArm64Ubfx:
1193 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt6(1), 1193 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt6(1),
1194 i.InputInt6(2)); 1194 i.InputInt32(2));
1195 break; 1195 break;
1196 case kArm64Ubfx32: 1196 case kArm64Ubfx32:
1197 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), 1197 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1),
1198 i.InputInt5(2)); 1198 i.InputInt32(2));
1199 break; 1199 break;
1200 case kArm64Ubfiz32: 1200 case kArm64Ubfiz32:
1201 __ Ubfiz(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), 1201 __ Ubfiz(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1),
1202 i.InputInt5(2)); 1202 i.InputInt5(2));
1203 break; 1203 break;
1204 case kArm64Bfi: 1204 case kArm64Bfi:
1205 __ Bfi(i.OutputRegister(), i.InputRegister(1), i.InputInt6(2), 1205 __ Bfi(i.OutputRegister(), i.InputRegister(1), i.InputInt6(2),
1206 i.InputInt6(3)); 1206 i.InputInt6(3));
1207 break; 1207 break;
1208 case kArm64TestAndBranch32: 1208 case kArm64TestAndBranch32:
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after
2250 padding_size -= kInstructionSize; 2250 padding_size -= kInstructionSize;
2251 } 2251 }
2252 } 2252 }
2253 } 2253 }
2254 2254
2255 #undef __ 2255 #undef __
2256 2256
2257 } // namespace compiler 2257 } // namespace compiler
2258 } // namespace internal 2258 } // namespace internal
2259 } // namespace v8 2259 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698