Skip to content

Commit 34a6061

Browse files
dhower-vlclaude
andcommitted
Zvame: add AME_MAX_INT_DTYPE constant for largest supported integer datatype
Defines AME_MAX_INT_DTYPE (INT64) so the maximum supported integer datatype ID is expressed as a named constant. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f993dfd commit 34a6061

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

spec/std/isa/isa/ame.idl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
Bits<4> AME_DTYPE_WIDTH = 8; # width of a datatype ID
77
Bits<8> AME_MAX_DTYPE_SIZE = 64; # largest width of a datatype value
88

9+
Bits<32> AME_MAX_INT_DTYPE = 32'h40000040; # INT64: largest supported integer datatype
10+
911
Bits<64> AME_MAX_SQUARE_SIZE = AME_MAX_DTYPE_SIZE * AME_NELEM;
1012

1113
Bits<8> AME_NUM_MREGS = 16;

0 commit comments

Comments
 (0)