Lines Matching refs:is_float
29 def __init__(self, name, dests, srcs, imms, is_float, can_eliminate, encoding_16, encoding_32):
34 self.is_float = is_float
60 def op(name, encoding_32, dests = 1, srcs = 0, imms = [], is_float = False, can_eliminate = True, encoding_16 = None):
64 opcodes[name] = Opcode(name, dests, srcs, imms, is_float, can_eliminate, encoding_16, encoding_32)
129 srcs = 1, is_float = True)
149 srcs = 2, is_float = True)
154 srcs = 3, is_float = True)
159 srcs = 2, is_float = True)
227 for is_float in [False, True]:
228 mod_mask = 0 if is_float else (0x3 << 26) | (0x3 << 38)
231 name = "{}_{}cmp".format(cf, "f" if is_float else "i")
232 exact = 0x42 | (0x0 if is_float else 0x10) | (cf_op << 9)
234 imms = [NEST, FCOND if is_float else ICOND, INVERT_COND]
237 imms = imms, is_float = is_float)