| 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/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/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" |
| 10 #include "src/mips/macro-assembler-mips.h" | 10 #include "src/mips/macro-assembler-mips.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 case kMipsSubOvf: | 181 case kMipsSubOvf: |
| 182 __ SubuAndCheckForOverflow(i.OutputRegister(), i.InputRegister(0), | 182 __ SubuAndCheckForOverflow(i.OutputRegister(), i.InputRegister(0), |
| 183 i.InputOperand(1), kCompareReg, kScratchReg); | 183 i.InputOperand(1), kCompareReg, kScratchReg); |
| 184 break; | 184 break; |
| 185 case kMipsMul: | 185 case kMipsMul: |
| 186 __ Mul(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 186 __ Mul(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 187 break; | 187 break; |
| 188 case kMipsMulHigh: | 188 case kMipsMulHigh: |
| 189 __ Mulh(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 189 __ Mulh(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 190 break; | 190 break; |
| 191 case kMipsMulHighU: |
| 192 __ Mulhu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 193 break; |
| 191 case kMipsDiv: | 194 case kMipsDiv: |
| 192 __ Div(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 195 __ Div(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 193 break; | 196 break; |
| 194 case kMipsDivU: | 197 case kMipsDivU: |
| 195 __ Divu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 198 __ Divu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 196 break; | 199 break; |
| 197 case kMipsMod: | 200 case kMipsMod: |
| 198 __ Mod(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 201 __ Mod(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 199 break; | 202 break; |
| 200 case kMipsModU: | 203 case kMipsModU: |
| (...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 959 } | 962 } |
| 960 } | 963 } |
| 961 MarkLazyDeoptSite(); | 964 MarkLazyDeoptSite(); |
| 962 } | 965 } |
| 963 | 966 |
| 964 #undef __ | 967 #undef __ |
| 965 | 968 |
| 966 } // namespace compiler | 969 } // namespace compiler |
| 967 } // namespace internal | 970 } // namespace internal |
| 968 } // namespace v8 | 971 } // namespace v8 |
| OLD | NEW |