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 2843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2854 } | 2854 } |
2855 | 2855 |
2856 void InstructionSelector::VisitI32x4UConvertF32x4(Node* node) { | 2856 void InstructionSelector::VisitI32x4UConvertF32x4(Node* node) { |
2857 VisitRR(this, kMips64I32x4UConvertF32x4, node); | 2857 VisitRR(this, kMips64I32x4UConvertF32x4, node); |
2858 } | 2858 } |
2859 | 2859 |
2860 void InstructionSelector::VisitI32x4Neg(Node* node) { | 2860 void InstructionSelector::VisitI32x4Neg(Node* node) { |
2861 VisitRR(this, kMips64I32x4Neg, node); | 2861 VisitRR(this, kMips64I32x4Neg, node); |
2862 } | 2862 } |
2863 | 2863 |
2864 void InstructionSelector::VisitI32x4LtS(Node* node) { | 2864 void InstructionSelector::VisitI32x4GtS(Node* node) { |
2865 VisitRRR(this, kMips64I32x4LtS, node); | 2865 VisitRRR(this, kMips64I32x4GtS, node); |
2866 } | 2866 } |
2867 | 2867 |
2868 void InstructionSelector::VisitI32x4LeS(Node* node) { | 2868 void InstructionSelector::VisitI32x4GeS(Node* node) { |
2869 VisitRRR(this, kMips64I32x4LeS, node); | 2869 VisitRRR(this, kMips64I32x4GeS, node); |
2870 } | 2870 } |
2871 | 2871 |
2872 void InstructionSelector::VisitI32x4LtU(Node* node) { | 2872 void InstructionSelector::VisitI32x4GtU(Node* node) { |
2873 VisitRRR(this, kMips64I32x4LtU, node); | 2873 VisitRRR(this, kMips64I32x4GtU, node); |
2874 } | 2874 } |
2875 | 2875 |
2876 void InstructionSelector::VisitI32x4LeU(Node* node) { | 2876 void InstructionSelector::VisitI32x4GeU(Node* node) { |
2877 VisitRRR(this, kMips64I32x4LeU, node); | 2877 VisitRRR(this, kMips64I32x4GeU, node); |
2878 } | 2878 } |
2879 | 2879 |
2880 void InstructionSelector::VisitI16x8Splat(Node* node) { | 2880 void InstructionSelector::VisitI16x8Splat(Node* node) { |
2881 VisitRR(this, kMips64I16x8Splat, node); | 2881 VisitRR(this, kMips64I16x8Splat, node); |
2882 } | 2882 } |
2883 | 2883 |
2884 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { | 2884 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { |
2885 VisitRRI(this, kMips64I16x8ExtractLane, node); | 2885 VisitRRI(this, kMips64I16x8ExtractLane, node); |
2886 } | 2886 } |
2887 | 2887 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2934 } | 2934 } |
2935 | 2935 |
2936 void InstructionSelector::VisitI16x8Eq(Node* node) { | 2936 void InstructionSelector::VisitI16x8Eq(Node* node) { |
2937 VisitRRR(this, kMips64I16x8Eq, node); | 2937 VisitRRR(this, kMips64I16x8Eq, node); |
2938 } | 2938 } |
2939 | 2939 |
2940 void InstructionSelector::VisitI16x8Ne(Node* node) { | 2940 void InstructionSelector::VisitI16x8Ne(Node* node) { |
2941 VisitRRR(this, kMips64I16x8Ne, node); | 2941 VisitRRR(this, kMips64I16x8Ne, node); |
2942 } | 2942 } |
2943 | 2943 |
2944 void InstructionSelector::VisitI16x8LtS(Node* node) { | 2944 void InstructionSelector::VisitI16x8GtS(Node* node) { |
2945 VisitRRR(this, kMips64I16x8LtS, node); | 2945 VisitRRR(this, kMips64I16x8GtS, node); |
2946 } | 2946 } |
2947 | 2947 |
2948 void InstructionSelector::VisitI16x8LeS(Node* node) { | 2948 void InstructionSelector::VisitI16x8GeS(Node* node) { |
2949 VisitRRR(this, kMips64I16x8LeS, node); | 2949 VisitRRR(this, kMips64I16x8GeS, node); |
2950 } | 2950 } |
2951 | 2951 |
2952 void InstructionSelector::VisitI16x8AddSaturateU(Node* node) { | 2952 void InstructionSelector::VisitI16x8AddSaturateU(Node* node) { |
2953 VisitRRR(this, kMips64I16x8AddSaturateU, node); | 2953 VisitRRR(this, kMips64I16x8AddSaturateU, node); |
2954 } | 2954 } |
2955 | 2955 |
2956 void InstructionSelector::VisitI16x8SubSaturateU(Node* node) { | 2956 void InstructionSelector::VisitI16x8SubSaturateU(Node* node) { |
2957 VisitRRR(this, kMips64I16x8SubSaturateU, node); | 2957 VisitRRR(this, kMips64I16x8SubSaturateU, node); |
2958 } | 2958 } |
2959 | 2959 |
2960 void InstructionSelector::VisitI16x8MaxU(Node* node) { | 2960 void InstructionSelector::VisitI16x8MaxU(Node* node) { |
2961 VisitRRR(this, kMips64I16x8MaxU, node); | 2961 VisitRRR(this, kMips64I16x8MaxU, node); |
2962 } | 2962 } |
2963 | 2963 |
2964 void InstructionSelector::VisitI16x8MinU(Node* node) { | 2964 void InstructionSelector::VisitI16x8MinU(Node* node) { |
2965 VisitRRR(this, kMips64I16x8MinU, node); | 2965 VisitRRR(this, kMips64I16x8MinU, node); |
2966 } | 2966 } |
2967 | 2967 |
2968 void InstructionSelector::VisitI16x8LtU(Node* node) { | 2968 void InstructionSelector::VisitI16x8GtU(Node* node) { |
2969 VisitRRR(this, kMips64I16x8LtU, node); | 2969 VisitRRR(this, kMips64I16x8GtU, node); |
2970 } | 2970 } |
2971 | 2971 |
2972 void InstructionSelector::VisitI16x8LeU(Node* node) { | 2972 void InstructionSelector::VisitI16x8GeU(Node* node) { |
2973 VisitRRR(this, kMips64I16x8LeU, node); | 2973 VisitRRR(this, kMips64I16x8GeU, node); |
2974 } | 2974 } |
2975 | 2975 |
2976 void InstructionSelector::VisitI8x16Splat(Node* node) { | 2976 void InstructionSelector::VisitI8x16Splat(Node* node) { |
2977 VisitRR(this, kMips64I8x16Splat, node); | 2977 VisitRR(this, kMips64I8x16Splat, node); |
2978 } | 2978 } |
2979 | 2979 |
2980 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { | 2980 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { |
2981 VisitRRI(this, kMips64I8x16ExtractLane, node); | 2981 VisitRRI(this, kMips64I8x16ExtractLane, node); |
2982 } | 2982 } |
2983 | 2983 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3037 } else { | 3037 } else { |
3038 DCHECK(kArchVariant == kMips64r2); | 3038 DCHECK(kArchVariant == kMips64r2); |
3039 return MachineOperatorBuilder::AlignmentRequirements:: | 3039 return MachineOperatorBuilder::AlignmentRequirements:: |
3040 NoUnalignedAccessSupport(); | 3040 NoUnalignedAccessSupport(); |
3041 } | 3041 } |
3042 } | 3042 } |
3043 | 3043 |
3044 } // namespace compiler | 3044 } // namespace compiler |
3045 } // namespace internal | 3045 } // namespace internal |
3046 } // namespace v8 | 3046 } // namespace v8 |
OLD | NEW |