| 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/base/adapters.h" | 5 #include "src/base/adapters.h" |
| 6 #include "src/base/bits.h" | 6 #include "src/base/bits.h" |
| 7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
| 8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
| 9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
| 10 | 10 |
| (...skipping 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2102 } | 2102 } |
| 2103 | 2103 |
| 2104 void InstructionSelector::VisitI32x4UConvertF32x4(Node* node) { | 2104 void InstructionSelector::VisitI32x4UConvertF32x4(Node* node) { |
| 2105 VisitRR(this, kMipsI32x4UConvertF32x4, node); | 2105 VisitRR(this, kMipsI32x4UConvertF32x4, node); |
| 2106 } | 2106 } |
| 2107 | 2107 |
| 2108 void InstructionSelector::VisitI32x4Neg(Node* node) { | 2108 void InstructionSelector::VisitI32x4Neg(Node* node) { |
| 2109 VisitRR(this, kMipsI32x4Neg, node); | 2109 VisitRR(this, kMipsI32x4Neg, node); |
| 2110 } | 2110 } |
| 2111 | 2111 |
| 2112 void InstructionSelector::VisitI32x4LtS(Node* node) { | 2112 void InstructionSelector::VisitI32x4GtS(Node* node) { |
| 2113 VisitRRR(this, kMipsI32x4LtS, node); | 2113 VisitRRR(this, kMipsI32x4GtS, node); |
| 2114 } | 2114 } |
| 2115 | 2115 |
| 2116 void InstructionSelector::VisitI32x4LeS(Node* node) { | 2116 void InstructionSelector::VisitI32x4GeS(Node* node) { |
| 2117 VisitRRR(this, kMipsI32x4LeS, node); | 2117 VisitRRR(this, kMipsI32x4GeS, node); |
| 2118 } | 2118 } |
| 2119 | 2119 |
| 2120 void InstructionSelector::VisitI32x4LtU(Node* node) { | 2120 void InstructionSelector::VisitI32x4GtU(Node* node) { |
| 2121 VisitRRR(this, kMipsI32x4LtU, node); | 2121 VisitRRR(this, kMipsI32x4GtU, node); |
| 2122 } | 2122 } |
| 2123 | 2123 |
| 2124 void InstructionSelector::VisitI32x4LeU(Node* node) { | 2124 void InstructionSelector::VisitI32x4GeU(Node* node) { |
| 2125 VisitRRR(this, kMipsI32x4LeU, node); | 2125 VisitRRR(this, kMipsI32x4GeU, node); |
| 2126 } | 2126 } |
| 2127 | 2127 |
| 2128 void InstructionSelector::VisitI16x8Splat(Node* node) { | 2128 void InstructionSelector::VisitI16x8Splat(Node* node) { |
| 2129 VisitRR(this, kMipsI16x8Splat, node); | 2129 VisitRR(this, kMipsI16x8Splat, node); |
| 2130 } | 2130 } |
| 2131 | 2131 |
| 2132 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { | 2132 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { |
| 2133 VisitRRI(this, kMipsI16x8ExtractLane, node); | 2133 VisitRRI(this, kMipsI16x8ExtractLane, node); |
| 2134 } | 2134 } |
| 2135 | 2135 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2182 } | 2182 } |
| 2183 | 2183 |
| 2184 void InstructionSelector::VisitI16x8Eq(Node* node) { | 2184 void InstructionSelector::VisitI16x8Eq(Node* node) { |
| 2185 VisitRRR(this, kMipsI16x8Eq, node); | 2185 VisitRRR(this, kMipsI16x8Eq, node); |
| 2186 } | 2186 } |
| 2187 | 2187 |
| 2188 void InstructionSelector::VisitI16x8Ne(Node* node) { | 2188 void InstructionSelector::VisitI16x8Ne(Node* node) { |
| 2189 VisitRRR(this, kMipsI16x8Ne, node); | 2189 VisitRRR(this, kMipsI16x8Ne, node); |
| 2190 } | 2190 } |
| 2191 | 2191 |
| 2192 void InstructionSelector::VisitI16x8LtS(Node* node) { | 2192 void InstructionSelector::VisitI16x8GtS(Node* node) { |
| 2193 VisitRRR(this, kMipsI16x8LtS, node); | 2193 VisitRRR(this, kMipsI16x8GtS, node); |
| 2194 } | 2194 } |
| 2195 | 2195 |
| 2196 void InstructionSelector::VisitI16x8LeS(Node* node) { | 2196 void InstructionSelector::VisitI16x8GeS(Node* node) { |
| 2197 VisitRRR(this, kMipsI16x8LeS, node); | 2197 VisitRRR(this, kMipsI16x8GeS, node); |
| 2198 } | 2198 } |
| 2199 | 2199 |
| 2200 void InstructionSelector::VisitI16x8AddSaturateU(Node* node) { | 2200 void InstructionSelector::VisitI16x8AddSaturateU(Node* node) { |
| 2201 VisitRRR(this, kMipsI16x8AddSaturateU, node); | 2201 VisitRRR(this, kMipsI16x8AddSaturateU, node); |
| 2202 } | 2202 } |
| 2203 | 2203 |
| 2204 void InstructionSelector::VisitI16x8SubSaturateU(Node* node) { | 2204 void InstructionSelector::VisitI16x8SubSaturateU(Node* node) { |
| 2205 VisitRRR(this, kMipsI16x8SubSaturateU, node); | 2205 VisitRRR(this, kMipsI16x8SubSaturateU, node); |
| 2206 } | 2206 } |
| 2207 | 2207 |
| 2208 void InstructionSelector::VisitI16x8MaxU(Node* node) { | 2208 void InstructionSelector::VisitI16x8MaxU(Node* node) { |
| 2209 VisitRRR(this, kMipsI16x8MaxU, node); | 2209 VisitRRR(this, kMipsI16x8MaxU, node); |
| 2210 } | 2210 } |
| 2211 | 2211 |
| 2212 void InstructionSelector::VisitI16x8MinU(Node* node) { | 2212 void InstructionSelector::VisitI16x8MinU(Node* node) { |
| 2213 VisitRRR(this, kMipsI16x8MinU, node); | 2213 VisitRRR(this, kMipsI16x8MinU, node); |
| 2214 } | 2214 } |
| 2215 | 2215 |
| 2216 void InstructionSelector::VisitI16x8LtU(Node* node) { | 2216 void InstructionSelector::VisitI16x8GtU(Node* node) { |
| 2217 VisitRRR(this, kMipsI16x8LtU, node); | 2217 VisitRRR(this, kMipsI16x8GtU, node); |
| 2218 } | 2218 } |
| 2219 | 2219 |
| 2220 void InstructionSelector::VisitI16x8LeU(Node* node) { | 2220 void InstructionSelector::VisitI16x8GeU(Node* node) { |
| 2221 VisitRRR(this, kMipsI16x8LeU, node); | 2221 VisitRRR(this, kMipsI16x8GeU, node); |
| 2222 } | 2222 } |
| 2223 | 2223 |
| 2224 void InstructionSelector::VisitI8x16Splat(Node* node) { | 2224 void InstructionSelector::VisitI8x16Splat(Node* node) { |
| 2225 VisitRR(this, kMipsI8x16Splat, node); | 2225 VisitRR(this, kMipsI8x16Splat, node); |
| 2226 } | 2226 } |
| 2227 | 2227 |
| 2228 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { | 2228 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { |
| 2229 VisitRRI(this, kMipsI8x16ExtractLane, node); | 2229 VisitRRI(this, kMipsI8x16ExtractLane, node); |
| 2230 } | 2230 } |
| 2231 | 2231 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2288 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || | 2288 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || |
| 2289 IsMipsArchVariant(kMips32r2)); | 2289 IsMipsArchVariant(kMips32r2)); |
| 2290 return MachineOperatorBuilder::AlignmentRequirements:: | 2290 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2291 NoUnalignedAccessSupport(); | 2291 NoUnalignedAccessSupport(); |
| 2292 } | 2292 } |
| 2293 } | 2293 } |
| 2294 | 2294 |
| 2295 } // namespace compiler | 2295 } // namespace compiler |
| 2296 } // namespace internal | 2296 } // namespace internal |
| 2297 } // namespace v8 | 2297 } // namespace v8 |
| OLD | NEW |