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 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1567 break; | 1567 break; |
1568 case kCheckedStoreWord64: | 1568 case kCheckedStoreWord64: |
1569 ASSEMBLE_CHECKED_STORE_INTEGER(sd); | 1569 ASSEMBLE_CHECKED_STORE_INTEGER(sd); |
1570 break; | 1570 break; |
1571 case kCheckedStoreFloat32: | 1571 case kCheckedStoreFloat32: |
1572 ASSEMBLE_CHECKED_STORE_FLOAT(Single, swc1); | 1572 ASSEMBLE_CHECKED_STORE_FLOAT(Single, swc1); |
1573 break; | 1573 break; |
1574 case kCheckedStoreFloat64: | 1574 case kCheckedStoreFloat64: |
1575 ASSEMBLE_CHECKED_STORE_FLOAT(Double, sdc1); | 1575 ASSEMBLE_CHECKED_STORE_FLOAT(Double, sdc1); |
1576 break; | 1576 break; |
| 1577 case kAtomicLoadInt8: |
| 1578 case kAtomicLoadUint8: |
| 1579 case kAtomicLoadInt16: |
| 1580 case kAtomicLoadUint16: |
| 1581 case kAtomicLoadWord32: |
| 1582 // TODO(binji): implement |
| 1583 __ nop(); |
| 1584 break; |
1577 } | 1585 } |
1578 } // NOLINT(readability/fn_size) | 1586 } // NOLINT(readability/fn_size) |
1579 | 1587 |
1580 | 1588 |
1581 #define UNSUPPORTED_COND(opcode, condition) \ | 1589 #define UNSUPPORTED_COND(opcode, condition) \ |
1582 OFStream out(stdout); \ | 1590 OFStream out(stdout); \ |
1583 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ | 1591 out << "Unsupported " << #opcode << " condition: \"" << condition << "\""; \ |
1584 UNIMPLEMENTED(); | 1592 UNIMPLEMENTED(); |
1585 | 1593 |
1586 static bool convertCondition(FlagsCondition condition, Condition& cc) { | 1594 static bool convertCondition(FlagsCondition condition, Condition& cc) { |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2195 padding_size -= v8::internal::Assembler::kInstrSize; | 2203 padding_size -= v8::internal::Assembler::kInstrSize; |
2196 } | 2204 } |
2197 } | 2205 } |
2198 } | 2206 } |
2199 | 2207 |
2200 #undef __ | 2208 #undef __ |
2201 | 2209 |
2202 } // namespace compiler | 2210 } // namespace compiler |
2203 } // namespace internal | 2211 } // namespace internal |
2204 } // namespace v8 | 2212 } // namespace v8 |
OLD | NEW |