sgpr and smem
This commit is contained in:
parent
8c4754b563
commit
8c164a3b09
@ -26,8 +26,12 @@ Type *primitive_parse(const char *src) {
|
||||
|
||||
if(!strcmp(src, "ugpr")) {
|
||||
return type_u(8 * arch_gpr_size());
|
||||
} else if(!strcmp(src, "sgpr")) {
|
||||
return type_s(8 * arch_gpr_size());
|
||||
} else if(!strcmp(src, "umem")) {
|
||||
return type_u(arch_memory_width());
|
||||
} else if(!strcmp(src, "smem")) {
|
||||
return type_s(arch_memory_width());
|
||||
}
|
||||
|
||||
TypePrimitive *ret = calloc(1, sizeof(*ret));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user