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

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

Issue 1310323006: [turbofan] support for Int64 in CheckedLoad/CheckedStore on 64-bit platforms. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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
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 #include "src/compiler/code-generator-impl.h" 6 #include "src/compiler/code-generator-impl.h"
7 #include "src/compiler/gap-resolver.h" 7 #include "src/compiler/gap-resolver.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/osr.h" 9 #include "src/compiler/osr.h"
10 #include "src/mips/macro-assembler-mips.h" 10 #include "src/mips/macro-assembler-mips.h"
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 break; 899 break;
900 case kCheckedLoadInt16: 900 case kCheckedLoadInt16:
901 ASSEMBLE_CHECKED_LOAD_INTEGER(lh); 901 ASSEMBLE_CHECKED_LOAD_INTEGER(lh);
902 break; 902 break;
903 case kCheckedLoadUint16: 903 case kCheckedLoadUint16:
904 ASSEMBLE_CHECKED_LOAD_INTEGER(lhu); 904 ASSEMBLE_CHECKED_LOAD_INTEGER(lhu);
905 break; 905 break;
906 case kCheckedLoadWord32: 906 case kCheckedLoadWord32:
907 ASSEMBLE_CHECKED_LOAD_INTEGER(lw); 907 ASSEMBLE_CHECKED_LOAD_INTEGER(lw);
908 break; 908 break;
909 case kCheckedLoadWord64:
910 ASSEMBLE_CHECKED_LOAD_INTEGER(ld);
911 break;
909 case kCheckedLoadFloat32: 912 case kCheckedLoadFloat32:
910 ASSEMBLE_CHECKED_LOAD_FLOAT(Single, lwc1); 913 ASSEMBLE_CHECKED_LOAD_FLOAT(Single, lwc1);
911 break; 914 break;
912 case kCheckedLoadFloat64: 915 case kCheckedLoadFloat64:
913 ASSEMBLE_CHECKED_LOAD_FLOAT(Double, ldc1); 916 ASSEMBLE_CHECKED_LOAD_FLOAT(Double, ldc1);
914 break; 917 break;
915 case kCheckedStoreWord8: 918 case kCheckedStoreWord8:
916 ASSEMBLE_CHECKED_STORE_INTEGER(sb); 919 ASSEMBLE_CHECKED_STORE_INTEGER(sb);
917 break; 920 break;
918 case kCheckedStoreWord16: 921 case kCheckedStoreWord16:
919 ASSEMBLE_CHECKED_STORE_INTEGER(sh); 922 ASSEMBLE_CHECKED_STORE_INTEGER(sh);
920 break; 923 break;
921 case kCheckedStoreWord32: 924 case kCheckedStoreWord32:
922 ASSEMBLE_CHECKED_STORE_INTEGER(sw); 925 ASSEMBLE_CHECKED_STORE_INTEGER(sw);
923 break; 926 break;
927 case kCheckedStoreWord64:
928 ASSEMBLE_CHECKED_STORE_INTEGER(sd);
929 break;
924 case kCheckedStoreFloat32: 930 case kCheckedStoreFloat32:
925 ASSEMBLE_CHECKED_STORE_FLOAT(Single, swc1); 931 ASSEMBLE_CHECKED_STORE_FLOAT(Single, swc1);
926 break; 932 break;
927 case kCheckedStoreFloat64: 933 case kCheckedStoreFloat64:
928 ASSEMBLE_CHECKED_STORE_FLOAT(Double, sdc1); 934 ASSEMBLE_CHECKED_STORE_FLOAT(Double, sdc1);
929 break; 935 break;
930 } 936 }
931 } // NOLINT(readability/fn_size) 937 } // NOLINT(readability/fn_size)
932 938
933 939
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 padding_size -= v8::internal::Assembler::kInstrSize; 1453 padding_size -= v8::internal::Assembler::kInstrSize;
1448 } 1454 }
1449 } 1455 }
1450 } 1456 }
1451 1457
1452 #undef __ 1458 #undef __
1453 1459
1454 } // namespace compiler 1460 } // namespace compiler
1455 } // namespace internal 1461 } // namespace internal
1456 } // namespace v8 1462 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/code-generator-mips.cc ('k') | src/compiler/mips64/instruction-selector-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698