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 --- 260 unchanged lines hidden (view full) --- 269 limm t4, 1 270 roli t4, t4, imm 271 ldst t1, seg, riprel, disp 272 sexti t0, t1, imm, flags=(CF,) 273 or t1, t1, t4 274 st t1, seg, riprel, disp 275}; 276 |
277def macroop BTS_LOCKED_M_I { 278 limm t1, imm, dataSize=asz 279 limm t4, 1 280 roli t4, t4, imm 281 ldstl t1, seg, sib, disp 282 sexti t0, t1, imm, flags=(CF,) 283 or t1, t1, t4 284 stul t1, seg, sib, disp 285}; 286 287def macroop BTS_LOCKED_P_I { 288 rdip t7, dataSize=asz 289 limm t1, imm, dataSize=asz 290 limm t4, 1 291 roli t4, t4, imm 292 ldstl t1, seg, riprel, disp 293 sexti t0, t1, imm, flags=(CF,) 294 or t1, t1, t4 295 stul t1, seg, riprel, disp 296}; 297 |
298def macroop BTS_R_R { 299 sext t0, reg, regm, flags=(CF,) 300 limm t1, 1 301 rol t1, t1, regm 302 or reg, reg, t1 303}; 304 305def macroop BTS_M_R { --- 15 unchanged lines hidden (view full) --- 321 lea t3, flatseg, [dsz, t3, base], dataSize=asz 322 limm t4, 1 323 rol t4, t4, reg 324 ldst t1, seg, [1, t3, t7], disp 325 sext t0, t1, reg, flags=(CF,) 326 or t1, t1, t4 327 st t1, seg, [1, t3, t7], disp 328}; |
329 330def macroop BTS_LOCKED_M_R { 331 srai t2, reg, 3, dataSize=asz 332 srai t3, t2, ldsz, dataSize=asz 333 lea t3, flatseg, [dsz, t3, base], dataSize=asz 334 limm t4, 1 335 rol t4, t4, reg 336 ldstl t1, seg, [scale, index, t3], disp 337 sext t0, t1, reg, flags=(CF,) 338 or t1, t1, t4 339 stul t1, seg, [scale, index, t3], disp 340}; 341 342def macroop BTS_LOCKED_P_R { 343 rdip t7, dataSize=asz 344 srai t2, reg, 3, dataSize=asz 345 srai t3, t2, ldsz, dataSize=asz 346 lea t3, flatseg, [dsz, t3, base], dataSize=asz 347 limm t4, 1 348 rol t4, t4, reg 349 ldstl t1, seg, [1, t3, t7], disp 350 sext t0, t1, reg, flags=(CF,) 351 or t1, t1, t4 352 stul t1, seg, [1, t3, t7], disp 353}; |
354''' |