OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/wasm-compiler.h" | 5 #include "src/compiler/wasm-compiler.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "src/isolate-inl.h" | 9 #include "src/isolate-inl.h" |
10 | 10 |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 case wasm::kExprI64Rol: | 537 case wasm::kExprI64Rol: |
538 return BuildI64Rol(left, right); | 538 return BuildI64Rol(left, right); |
539 case wasm::kExprF32CopySign: | 539 case wasm::kExprF32CopySign: |
540 return BuildF32CopySign(left, right); | 540 return BuildF32CopySign(left, right); |
541 case wasm::kExprF64CopySign: | 541 case wasm::kExprF64CopySign: |
542 return BuildF64CopySign(left, right); | 542 return BuildF64CopySign(left, right); |
543 case wasm::kExprF32Add: | 543 case wasm::kExprF32Add: |
544 op = m->Float32Add(); | 544 op = m->Float32Add(); |
545 break; | 545 break; |
546 case wasm::kExprF32Sub: | 546 case wasm::kExprF32Sub: |
547 op = m->Float32SubPreserveNan(); | 547 op = m->Float32Sub(); |
548 break; | 548 break; |
549 case wasm::kExprF32Mul: | 549 case wasm::kExprF32Mul: |
550 op = m->Float32Mul(); | 550 op = m->Float32Mul(); |
551 break; | 551 break; |
552 case wasm::kExprF32Div: | 552 case wasm::kExprF32Div: |
553 op = m->Float32Div(); | 553 op = m->Float32Div(); |
554 break; | 554 break; |
555 case wasm::kExprF32Eq: | 555 case wasm::kExprF32Eq: |
556 op = m->Float32Equal(); | 556 op = m->Float32Equal(); |
557 break; | 557 break; |
(...skipping 10 matching lines...) Expand all Loading... |
568 op = m->Float32LessThan(); | 568 op = m->Float32LessThan(); |
569 std::swap(left, right); | 569 std::swap(left, right); |
570 break; | 570 break; |
571 case wasm::kExprF32Le: | 571 case wasm::kExprF32Le: |
572 op = m->Float32LessThanOrEqual(); | 572 op = m->Float32LessThanOrEqual(); |
573 break; | 573 break; |
574 case wasm::kExprF64Add: | 574 case wasm::kExprF64Add: |
575 op = m->Float64Add(); | 575 op = m->Float64Add(); |
576 break; | 576 break; |
577 case wasm::kExprF64Sub: | 577 case wasm::kExprF64Sub: |
578 op = m->Float64SubPreserveNan(); | 578 op = m->Float64Sub(); |
579 break; | 579 break; |
580 case wasm::kExprF64Mul: | 580 case wasm::kExprF64Mul: |
581 op = m->Float64Mul(); | 581 op = m->Float64Mul(); |
582 break; | 582 break; |
583 case wasm::kExprF64Div: | 583 case wasm::kExprF64Div: |
584 op = m->Float64Div(); | 584 op = m->Float64Div(); |
585 break; | 585 break; |
586 case wasm::kExprF64Eq: | 586 case wasm::kExprF64Eq: |
587 op = m->Float64Equal(); | 587 op = m->Float64Equal(); |
588 break; | 588 break; |
(...skipping 2833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3422 function_->code_start_offset), | 3422 function_->code_start_offset), |
3423 compile_ms); | 3423 compile_ms); |
3424 } | 3424 } |
3425 | 3425 |
3426 return code; | 3426 return code; |
3427 } | 3427 } |
3428 | 3428 |
3429 } // namespace compiler | 3429 } // namespace compiler |
3430 } // namespace internal | 3430 } // namespace internal |
3431 } // namespace v8 | 3431 } // namespace v8 |
OLD | NEW |