| OLD | NEW |
| 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/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
| 6 #include "src/compiler/code-generator.h" | 6 #include "src/compiler/code-generator.h" |
| 7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
| 8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
| 9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
| 10 #include "src/compiler/osr.h" | 10 #include "src/compiler/osr.h" |
| (...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1317 case kCheckedStoreFloat32: | 1317 case kCheckedStoreFloat32: |
| 1318 ASSEMBLE_CHECKED_STORE_FLOAT(Single, swc1); | 1318 ASSEMBLE_CHECKED_STORE_FLOAT(Single, swc1); |
| 1319 break; | 1319 break; |
| 1320 case kCheckedStoreFloat64: | 1320 case kCheckedStoreFloat64: |
| 1321 ASSEMBLE_CHECKED_STORE_FLOAT(Double, sdc1); | 1321 ASSEMBLE_CHECKED_STORE_FLOAT(Double, sdc1); |
| 1322 break; | 1322 break; |
| 1323 case kCheckedLoadWord64: | 1323 case kCheckedLoadWord64: |
| 1324 case kCheckedStoreWord64: | 1324 case kCheckedStoreWord64: |
| 1325 UNREACHABLE(); // currently unsupported checked int64 load/store. | 1325 UNREACHABLE(); // currently unsupported checked int64 load/store. |
| 1326 break; | 1326 break; |
| 1327 case kAtomicLoadInt8: |
| 1328 case kAtomicLoadUint8: |
| 1329 case kAtomicLoadInt16: |
| 1330 case kAtomicLoadUint16: |
| 1331 case kAtomicLoadWord32: |
| 1332 // TODO(binji): implement |
| 1333 __ nop(); |
| 1334 break; |
| 1327 } | 1335 } |
| 1328 } // NOLINT(readability/fn_size) | 1336 } // NOLINT(readability/fn_size) |
| 1329 | 1337 |
| 1330 | 1338 |
| 1331 #define UNSUPPORTED_COND(opcode, condition) \ | 1339 #define UNSUPPORTED_COND(opcode, condition) \ |
| 1332 OFStream out(stdout); \ | 1340 OFStream out(stdout); \ |
| 1333 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ | 1341 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ |
| 1334 UNIMPLEMENTED(); | 1342 UNIMPLEMENTED(); |
| 1335 | 1343 |
| 1336 static bool convertCondition(FlagsCondition condition, Condition& cc) { | 1344 static bool convertCondition(FlagsCondition condition, Condition& cc) { |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1931 padding_size -= v8::internal::Assembler::kInstrSize; | 1939 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1932 } | 1940 } |
| 1933 } | 1941 } |
| 1934 } | 1942 } |
| 1935 | 1943 |
| 1936 #undef __ | 1944 #undef __ |
| 1937 | 1945 |
| 1938 } // namespace compiler | 1946 } // namespace compiler |
| 1939 } // namespace internal | 1947 } // namespace internal |
| 1940 } // namespace v8 | 1948 } // namespace v8 |
| OLD | NEW |