bit_test.py (6095:c36f932461d9) | bit_test.py (6096:72f1239a1583) |
---|---|
1# Copyright (c) 2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 140 unchanged lines hidden (view full) --- 149 limm t4, 1 150 roli t4, t4, imm 151 ldst t1, seg, riprel, disp 152 sexti t0, t1, imm, flags=(CF,) 153 xor t1, t1, t4 154 st t1, seg, riprel, disp 155}; 156 | 1# Copyright (c) 2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 140 unchanged lines hidden (view full) --- 149 limm t4, 1 150 roli t4, t4, imm 151 ldst t1, seg, riprel, disp 152 sexti t0, t1, imm, flags=(CF,) 153 xor t1, t1, t4 154 st t1, seg, riprel, disp 155}; 156 |
157def macroop BTC_LOCKED_M_I { 158 limm t1, imm, dataSize=asz 159 limm t4, 1 160 roli t4, t4, imm 161 ldstl t1, seg, sib, disp 162 sexti t0, t1, imm, flags=(CF,) 163 xor t1, t1, t4 164 stul t1, seg, sib, disp 165}; 166 167def macroop BTC_LOCKED_P_I { 168 rdip t7, dataSize=asz 169 limm t1, imm, dataSize=asz 170 limm t4, 1 171 roli t4, t4, imm 172 ldstl t1, seg, riprel, disp 173 sexti t0, t1, imm, flags=(CF,) 174 xor t1, t1, t4 175 stul t1, seg, riprel, disp 176}; 177 |
|
157def macroop BTC_R_R { 158 sext t0, reg, regm, flags=(CF,) 159 limm t1, 1 160 rol t1, t1, regm 161 xor reg, reg, t1 162}; 163 164def macroop BTC_M_R { --- 16 unchanged lines hidden (view full) --- 181 limm t4, 1 182 rol t4, t4, reg 183 ldst t1, seg, [1, t2, t7], disp 184 sext t0, t1, reg, flags=(CF,) 185 xor t1, t1, t4 186 st t1, seg, [1, t2, t7], disp 187}; 188 | 178def macroop BTC_R_R { 179 sext t0, reg, regm, flags=(CF,) 180 limm t1, 1 181 rol t1, t1, regm 182 xor reg, reg, t1 183}; 184 185def macroop BTC_M_R { --- 16 unchanged lines hidden (view full) --- 202 limm t4, 1 203 rol t4, t4, reg 204 ldst t1, seg, [1, t2, t7], disp 205 sext t0, t1, reg, flags=(CF,) 206 xor t1, t1, t4 207 st t1, seg, [1, t2, t7], disp 208}; 209 |
210def macroop BTC_LOCKED_M_R { 211 srai t2, reg, 3, dataSize=asz 212 srai t3, t2, ldsz, dataSize=asz 213 lea t3, flatseg, [dsz, t3, base], dataSize=asz 214 limm t4, 1 215 rol t4, t4, reg 216 ldstl t1, seg, [scale, index, t3], disp 217 sext t0, t1, reg, flags=(CF,) 218 xor t1, t1, t4 219 stul t1, seg, [scale, index, t3], disp 220}; 221 222def macroop BTC_LOCKED_P_R { 223 rdip t7, dataSize=asz 224 srai t2, reg, 3, dataSize=asz 225 srai t3, t2, ldsz, dataSize=asz 226 lea t3, flatseg, [dsz, t3, base], dataSize=asz 227 limm t4, 1 228 rol t4, t4, reg 229 ldstl t1, seg, [1, t2, t7], disp 230 sext t0, t1, reg, flags=(CF,) 231 xor t1, t1, t4 232 stul t1, seg, [1, t2, t7], disp 233}; 234 |
|
189def macroop BTR_R_I { 190 sexti t0, reg, imm, flags=(CF,) 191 limm t1, "(uint64_t(-(2ULL)))" 192 roli t1, t1, imm 193 and reg, reg, t1 194}; 195 196def macroop BTR_M_I { --- 204 unchanged lines hidden --- | 235def macroop BTR_R_I { 236 sexti t0, reg, imm, flags=(CF,) 237 limm t1, "(uint64_t(-(2ULL)))" 238 roli t1, t1, imm 239 and reg, reg, t1 240}; 241 242def macroop BTR_M_I { --- 204 unchanged lines hidden --- |