types.c (1186B)
1 static char sccsid[] = "@(#) ./cc2/arch/i386-sysv/types.c"; 2 3 #include "../../../inc/scc.h" 4 #include "../../cc2.h" 5 6 7 Type int8type = { 8 .flags = SIGNF | INTF, 9 .size = 1, 10 .align = 1 11 }; 12 13 Type int16type = { 14 .flags = SIGNF | INTF, 15 .size = 2, 16 .align = 2 17 }; 18 19 Type int32type = { 20 .flags = SIGNF | INTF, 21 .size = 4, 22 .align = 4 23 }; 24 25 Type int64type = { 26 .flags = SIGNF | INTF, 27 .size = 8, 28 .align = 4 29 }; 30 31 Type uint8type = { 32 .flags = INTF, 33 .size = 1, 34 .align = 1 35 }; 36 37 Type uint16type = { 38 .flags = INTF, 39 .size = 2, 40 .align = 2 41 }; 42 43 Type uint32type = { 44 .flags = INTF, 45 .size = 4, 46 .align = 2 47 }; 48 49 Type uint64type = { 50 .flags = INTF, 51 .size = 8, 52 .align = 4 53 }; 54 55 Type ptrtype = { 56 .flags = INTF, 57 .size = 4, 58 .align = 4 59 }; 60 61 Type booltype = { 62 .flags = INTF, 63 .size = 1, 64 .align = 1 65 }; 66 67 Type float32type = { 68 .flags = FLOATF, 69 .size = 4, 70 .align = 4 71 }; 72 73 Type float64type = { 74 .flags = FLOATF, 75 .size = 8, 76 .align = 4 77 }; 78 79 Type float80type = { 80 .flags = FLOATF, 81 .size = 12, 82 .align = 4 83 }; 84 85 Type voidtype = { 86 .size = 0, 87 .align = 0 88 }; 89 90 /* this type is not used in this architecture */ 91 Type arg_type = { 92 .size = 0, 93 .align = 0 94 };