Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Side by Side Diff: src/IceInstX86Base.h

Issue 1531303004: Fix regression in SSE instruction opcodes (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceInstX86Base.h - Generic x86 instructions -*- C++ -*--===// 1 //===- subzero/src/IceInstX86Base.h - Generic x86 instructions -*- C++ -*--===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 3056 matching lines...) Expand 10 before | Expand all | Expand 10 after
3067 template <> const char *InstX86Movzx<Machine>::Base::Opcode = "movz"; \ 3067 template <> const char *InstX86Movzx<Machine>::Base::Opcode = "movz"; \
3068 template <> const char *InstX86Sqrtss<Machine>::Base::Opcode = "sqrtss"; \ 3068 template <> const char *InstX86Sqrtss<Machine>::Base::Opcode = "sqrtss"; \
3069 template <> const char *InstX86Cbwdq<Machine>::Base::Opcode = "cbw/cwd/cdq"; \ 3069 template <> const char *InstX86Cbwdq<Machine>::Base::Opcode = "cbw/cwd/cdq"; \
3070 /* Mov-like ops */ \ 3070 /* Mov-like ops */ \
3071 template <> const char *InstX86Mov<Machine>::Base::Opcode = "mov"; \ 3071 template <> const char *InstX86Mov<Machine>::Base::Opcode = "mov"; \
3072 template <> const char *InstX86Movp<Machine>::Base::Opcode = "movups"; \ 3072 template <> const char *InstX86Movp<Machine>::Base::Opcode = "movups"; \
3073 template <> const char *InstX86Movq<Machine>::Base::Opcode = "movq"; \ 3073 template <> const char *InstX86Movq<Machine>::Base::Opcode = "movq"; \
3074 /* Binary ops */ \ 3074 /* Binary ops */ \
3075 template <> const char *InstX86Add<Machine>::Base::Opcode = "add"; \ 3075 template <> const char *InstX86Add<Machine>::Base::Opcode = "add"; \
3076 template <> const char *InstX86AddRMW<Machine>::Base::Opcode = "add"; \ 3076 template <> const char *InstX86AddRMW<Machine>::Base::Opcode = "add"; \
3077 template <> const char *InstX86Addps<Machine>::Base::Opcode = "addps"; \ 3077 template <> const char *InstX86Addps<Machine>::Base::Opcode = "add"; \
John 2015/12/18 00:50:03 It saddens me that the Instruction is named Addps,
sehr 2015/12/18 00:52:12 We need a new name for the class (probably with XM
3078 template <> const char *InstX86Adc<Machine>::Base::Opcode = "adc"; \ 3078 template <> const char *InstX86Adc<Machine>::Base::Opcode = "adc"; \
3079 template <> const char *InstX86AdcRMW<Machine>::Base::Opcode = "adc"; \ 3079 template <> const char *InstX86AdcRMW<Machine>::Base::Opcode = "adc"; \
3080 template <> const char *InstX86Addss<Machine>::Base::Opcode = "addss"; \ 3080 template <> const char *InstX86Addss<Machine>::Base::Opcode = "add"; \
3081 template <> const char *InstX86Andnps<Machine>::Base::Opcode = "andn"; \ 3081 template <> const char *InstX86Andnps<Machine>::Base::Opcode = "andn"; \
3082 template <> const char *InstX86Andps<Machine>::Base::Opcode = "and"; \ 3082 template <> const char *InstX86Andps<Machine>::Base::Opcode = "and"; \
3083 template <> const char *InstX86Maxss<Machine>::Base::Opcode = "max"; \ 3083 template <> const char *InstX86Maxss<Machine>::Base::Opcode = "max"; \
3084 template <> const char *InstX86Minss<Machine>::Base::Opcode = "min"; \ 3084 template <> const char *InstX86Minss<Machine>::Base::Opcode = "min"; \
3085 template <> const char *InstX86Padd<Machine>::Base::Opcode = "padd"; \ 3085 template <> const char *InstX86Padd<Machine>::Base::Opcode = "padd"; \
3086 template <> const char *InstX86Sub<Machine>::Base::Opcode = "sub"; \ 3086 template <> const char *InstX86Sub<Machine>::Base::Opcode = "sub"; \
3087 template <> const char *InstX86SubRMW<Machine>::Base::Opcode = "sub"; \ 3087 template <> const char *InstX86SubRMW<Machine>::Base::Opcode = "sub"; \
3088 template <> const char *InstX86Subps<Machine>::Base::Opcode = "subps"; \ 3088 template <> const char *InstX86Subps<Machine>::Base::Opcode = "sub"; \
3089 template <> const char *InstX86Subss<Machine>::Base::Opcode = "subss"; \ 3089 template <> const char *InstX86Subss<Machine>::Base::Opcode = "sub"; \
3090 template <> const char *InstX86Sbb<Machine>::Base::Opcode = "sbb"; \ 3090 template <> const char *InstX86Sbb<Machine>::Base::Opcode = "sbb"; \
3091 template <> const char *InstX86SbbRMW<Machine>::Base::Opcode = "sbb"; \ 3091 template <> const char *InstX86SbbRMW<Machine>::Base::Opcode = "sbb"; \
3092 template <> const char *InstX86Psub<Machine>::Base::Opcode = "psub"; \ 3092 template <> const char *InstX86Psub<Machine>::Base::Opcode = "psub"; \
3093 template <> const char *InstX86And<Machine>::Base::Opcode = "and"; \ 3093 template <> const char *InstX86And<Machine>::Base::Opcode = "and"; \
3094 template <> const char *InstX86AndRMW<Machine>::Base::Opcode = "and"; \ 3094 template <> const char *InstX86AndRMW<Machine>::Base::Opcode = "and"; \
3095 template <> const char *InstX86Pand<Machine>::Base::Opcode = "pand"; \ 3095 template <> const char *InstX86Pand<Machine>::Base::Opcode = "pand"; \
3096 template <> const char *InstX86Pandn<Machine>::Base::Opcode = "pandn"; \ 3096 template <> const char *InstX86Pandn<Machine>::Base::Opcode = "pandn"; \
3097 template <> const char *InstX86Or<Machine>::Base::Opcode = "or"; \ 3097 template <> const char *InstX86Or<Machine>::Base::Opcode = "or"; \
3098 template <> const char *InstX86Orps<Machine>::Base::Opcode = "or"; \ 3098 template <> const char *InstX86Orps<Machine>::Base::Opcode = "or"; \
3099 template <> const char *InstX86OrRMW<Machine>::Base::Opcode = "or"; \ 3099 template <> const char *InstX86OrRMW<Machine>::Base::Opcode = "or"; \
3100 template <> const char *InstX86Por<Machine>::Base::Opcode = "por"; \ 3100 template <> const char *InstX86Por<Machine>::Base::Opcode = "por"; \
3101 template <> const char *InstX86Xor<Machine>::Base::Opcode = "xor"; \ 3101 template <> const char *InstX86Xor<Machine>::Base::Opcode = "xor"; \
3102 template <> const char *InstX86Xorps<Machine>::Base::Opcode = "xor"; \ 3102 template <> const char *InstX86Xorps<Machine>::Base::Opcode = "xor"; \
3103 template <> const char *InstX86XorRMW<Machine>::Base::Opcode = "xor"; \ 3103 template <> const char *InstX86XorRMW<Machine>::Base::Opcode = "xor"; \
3104 template <> const char *InstX86Pxor<Machine>::Base::Opcode = "pxor"; \ 3104 template <> const char *InstX86Pxor<Machine>::Base::Opcode = "pxor"; \
3105 template <> const char *InstX86Imul<Machine>::Base::Opcode = "imul"; \ 3105 template <> const char *InstX86Imul<Machine>::Base::Opcode = "imul"; \
3106 template <> const char *InstX86ImulImm<Machine>::Base::Opcode = "imul"; \ 3106 template <> const char *InstX86ImulImm<Machine>::Base::Opcode = "imul"; \
3107 template <> const char *InstX86Mulps<Machine>::Base::Opcode = "mulps"; \ 3107 template <> const char *InstX86Mulps<Machine>::Base::Opcode = "mul"; \
3108 template <> const char *InstX86Mulss<Machine>::Base::Opcode = "mulss"; \ 3108 template <> const char *InstX86Mulss<Machine>::Base::Opcode = "mul"; \
3109 template <> const char *InstX86Pmull<Machine>::Base::Opcode = "pmull"; \ 3109 template <> const char *InstX86Pmull<Machine>::Base::Opcode = "pmull"; \
3110 template <> const char *InstX86Pmuludq<Machine>::Base::Opcode = "pmuludq"; \ 3110 template <> const char *InstX86Pmuludq<Machine>::Base::Opcode = "pmuludq"; \
3111 template <> const char *InstX86Div<Machine>::Base::Opcode = "div"; \ 3111 template <> const char *InstX86Div<Machine>::Base::Opcode = "div"; \
3112 template <> const char *InstX86Divps<Machine>::Base::Opcode = "divps"; \ 3112 template <> const char *InstX86Divps<Machine>::Base::Opcode = "div"; \
3113 template <> const char *InstX86Divss<Machine>::Base::Opcode = "divss"; \ 3113 template <> const char *InstX86Divss<Machine>::Base::Opcode = "div"; \
3114 template <> const char *InstX86Idiv<Machine>::Base::Opcode = "idiv"; \ 3114 template <> const char *InstX86Idiv<Machine>::Base::Opcode = "idiv"; \
3115 template <> const char *InstX86Rol<Machine>::Base::Opcode = "rol"; \ 3115 template <> const char *InstX86Rol<Machine>::Base::Opcode = "rol"; \
3116 template <> const char *InstX86Shl<Machine>::Base::Opcode = "shl"; \ 3116 template <> const char *InstX86Shl<Machine>::Base::Opcode = "shl"; \
3117 template <> const char *InstX86Psll<Machine>::Base::Opcode = "psll"; \ 3117 template <> const char *InstX86Psll<Machine>::Base::Opcode = "psll"; \
3118 template <> const char *InstX86Shr<Machine>::Base::Opcode = "shr"; \ 3118 template <> const char *InstX86Shr<Machine>::Base::Opcode = "shr"; \
3119 template <> const char *InstX86Sar<Machine>::Base::Opcode = "sar"; \ 3119 template <> const char *InstX86Sar<Machine>::Base::Opcode = "sar"; \
3120 template <> const char *InstX86Psra<Machine>::Base::Opcode = "psra"; \ 3120 template <> const char *InstX86Psra<Machine>::Base::Opcode = "psra"; \
3121 template <> const char *InstX86Psrl<Machine>::Base::Opcode = "psrl"; \ 3121 template <> const char *InstX86Psrl<Machine>::Base::Opcode = "psrl"; \
3122 template <> const char *InstX86Pcmpeq<Machine>::Base::Opcode = "pcmpeq"; \ 3122 template <> const char *InstX86Pcmpeq<Machine>::Base::Opcode = "pcmpeq"; \
3123 template <> const char *InstX86Pcmpgt<Machine>::Base::Opcode = "pcmpgt"; \ 3123 template <> const char *InstX86Pcmpgt<Machine>::Base::Opcode = "pcmpgt"; \
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
3434 &InstX86Base<Machine>::Traits::Assembler::psrl}; \ 3434 &InstX86Base<Machine>::Traits::Assembler::psrl}; \
3435 } \ 3435 } \
3436 } 3436 }
3437 3437
3438 } // end of namespace X86Internal 3438 } // end of namespace X86Internal
3439 } // end of namespace Ice 3439 } // end of namespace Ice
3440 3440
3441 #include "IceInstX86BaseImpl.h" 3441 #include "IceInstX86BaseImpl.h"
3442 3442
3443 #endif // SUBZERO_SRC_ICEINSTX86BASE_H 3443 #endif // SUBZERO_SRC_ICEINSTX86BASE_H
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698