Lines Matching full:w
23 'PSHUF[LH]W': 0xff,
32 def reg_w(w): argument
33 if w == 8:
35 elif w == 16:
37 elif w == 32:
39 elif w == 64:
41 raise Exception("bad reg_w %d" % w)
43 def mem_w(w): argument
44 if w == 8:
46 elif w == 16:
48 elif w == 32:
50 elif w == 64:
62 raise Exception("Bad /m width: %s" % w)
97 raise Exception("Bad r/w width: %s" % w)
99 raise Exception("Bad r/w width: %s" % w)
112 def __init__(self, w): argument
113 if w not in [8, 16, 32, 64, 128, 256]:
114 raise Exception("Bad mem width: %s" % w)
115 self.w = w
117 return mem_w(self.w)
225 with open(sys.argv[2], "w") as outf: