def check_encoding(self, f=sys.stdout):
    if ((INT16_MIN <= self.imm) and (self.imm <= INT16_MAX)):
        f.write('warning: "const-wide/32" can be encoded as a ')
        f.write(('"const-wide/16" more efficiently as (%i <= %i <= %i)\n' % (UINT8_MAX, INT16_MIN, self.imm, INT16_MAX)))
        return 2
    return 0
def check_encoding(self, f=sys.stdout):
    if ((INT16_MIN <= self.imm) and (self.imm <= INT16_MAX)):
        f.write('warning: "const-wide/32" can be encoded as a ')
        f.write(('"const-wide/16" more efficiently as (%i <= %i <= %i)\n' % (UINT8_MAX, INT16_MIN, self.imm, INT16_MAX)))
        return 2
    return 0