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

Side by Side Diff: src/IceInstX8632.def

Issue 580903005: Subzero: Add branch optimization. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 6 years, 3 months 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 | « src/IceInstX8632.cpp ('k') | src/IceTargetLowering.h » ('j') | 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/IceInstX8632.def - X-macros for x86-32 insts -*- C++ -*-===// 1 //===- subzero/src/IceInstX8632.def - X-macros for x86-32 insts -*- 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 // This file defines properties of lowered x86-32 instructions in the 10 // This file defines properties of lowered x86-32 instructions in the
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 /* enum value, name */ \ 44 /* enum value, name */ \
45 X(SegReg_CS, "cs") \ 45 X(SegReg_CS, "cs") \
46 X(SegReg_DS, "ds") \ 46 X(SegReg_DS, "ds") \
47 X(SegReg_ES, "es") \ 47 X(SegReg_ES, "es") \
48 X(SegReg_SS, "ss") \ 48 X(SegReg_SS, "ss") \
49 X(SegReg_FS, "fs") \ 49 X(SegReg_FS, "fs") \
50 X(SegReg_GS, "gs") \ 50 X(SegReg_GS, "gs") \
51 //#define X(val, name) 51 //#define X(val, name)
52 52
53 #define ICEINSTX8632BR_TABLE \ 53 #define ICEINSTX8632BR_TABLE \
54 /* enum value, dump, emit */ \ 54 /* enum value, opposite, dump, emit */ \
55 X(Br_a, "a", "ja") \ 55 X(Br_a, Br_be, "a", "ja") \
56 X(Br_ae, "ae", "jae") \ 56 X(Br_ae, Br_b, "ae", "jae") \
57 X(Br_b, "b", "jb") \ 57 X(Br_b, Br_ae, "b", "jb") \
58 X(Br_be, "be", "jbe") \ 58 X(Br_be, Br_a, "be", "jbe") \
59 X(Br_e, "e", "je") \ 59 X(Br_e, Br_ne, "e", "je") \
60 X(Br_g, "g", "jg") \ 60 X(Br_g, Br_le, "g", "jg") \
61 X(Br_ge, "ge", "jge") \ 61 X(Br_ge, Br_l, "ge", "jge") \
62 X(Br_l, "l", "jl") \ 62 X(Br_l, Br_ge, "l", "jl") \
63 X(Br_le, "le", "jle") \ 63 X(Br_le, Br_g, "le", "jle") \
64 X(Br_ne, "ne", "jne") \ 64 X(Br_ne, Br_e, "ne", "jne") \
65 X(Br_np, "np", "jnp") \ 65 X(Br_np, Br_p, "np", "jnp") \
66 X(Br_p, "p", "jp") \ 66 X(Br_p, Br_np, "p", "jp") \
67 //#define X(tag, dump, emit) 67 //#define X(tag, opp, dump, emit)
68 68
69 #define ICEINSTX8632CMPPS_TABLE \ 69 #define ICEINSTX8632CMPPS_TABLE \
70 /* enum value, emit */ \ 70 /* enum value, emit */ \
71 X(Cmpps_eq, "eq") \ 71 X(Cmpps_eq, "eq") \
72 X(Cmpps_lt, "lt") \ 72 X(Cmpps_lt, "lt") \
73 X(Cmpps_le, "le") \ 73 X(Cmpps_le, "le") \
74 X(Cmpps_unord, "unord") \ 74 X(Cmpps_unord, "unord") \
75 X(Cmpps_neq, "neq") \ 75 X(Cmpps_neq, "neq") \
76 X(Cmpps_nlt, "nlt") \ 76 X(Cmpps_nlt, "nlt") \
77 X(Cmpps_nle, "nle") \ 77 X(Cmpps_nle, "nle") \
(...skipping 13 matching lines...) Expand all
91 X(IceType_v4i1, IceType_i32 , "?" , "" , "d", "xmmword ptr") \ 91 X(IceType_v4i1, IceType_i32 , "?" , "" , "d", "xmmword ptr") \
92 X(IceType_v8i1, IceType_i16 , "?" , "" , "w", "xmmword ptr") \ 92 X(IceType_v8i1, IceType_i16 , "?" , "" , "w", "xmmword ptr") \
93 X(IceType_v16i1, IceType_i8 , "?" , "" , "b", "xmmword ptr") \ 93 X(IceType_v16i1, IceType_i8 , "?" , "" , "b", "xmmword ptr") \
94 X(IceType_v16i8, IceType_i8 , "?" , "" , "b", "xmmword ptr") \ 94 X(IceType_v16i8, IceType_i8 , "?" , "" , "b", "xmmword ptr") \
95 X(IceType_v8i16, IceType_i16 , "?" , "" , "w", "xmmword ptr") \ 95 X(IceType_v8i16, IceType_i16 , "?" , "" , "w", "xmmword ptr") \
96 X(IceType_v4i32, IceType_i32 , "dq", "" , "d", "xmmword ptr") \ 96 X(IceType_v4i32, IceType_i32 , "dq", "" , "d", "xmmword ptr") \
97 X(IceType_v4f32, IceType_f32 , "ps", "" , "" , "xmmword ptr") \ 97 X(IceType_v4f32, IceType_f32 , "ps", "" , "" , "xmmword ptr") \
98 //#define X(tag, elementty, cvt, sdss, width) 98 //#define X(tag, elementty, cvt, sdss, width)
99 99
100 #endif // SUBZERO_SRC_ICEINSTX8632_DEF 100 #endif // SUBZERO_SRC_ICEINSTX8632_DEF
OLDNEW
« no previous file with comments | « src/IceInstX8632.cpp ('k') | src/IceTargetLowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698