qat.experimental.dialect.q1.ir.imm_desc module

imm_desc.py

This module defines the set of immediate types for the QBlox ISA. QBlox used to support only unsigned 32-bit integers (see UI32) and the programmer had to legalize negative values by 2’s complement. QBlox nowadays are increasingly supporting more types to improve the programmer’s experience. While not fully specified/documented, we’re anticipating such improvements to the Q1 ISA here by specifying the following:

  • UI32: Unsigned 32-bit IntegerType alias

  • SI32: Signed 32-bit IntegerType alias

  • UI16: Unsigned 16-bit IntegerType alias

  • SI16: Signed 16-bit IntegerType alias