Definition at line 48 of file codeoptim.c.
References _, COB_ADD_ALIGN_S16, COB_ADD_ALIGN_S32, COB_ADD_ALIGN_S64, COB_ADD_ALIGN_U16, COB_ADD_ALIGN_U32, COB_ADD_ALIGN_U64, COB_ADD_PACKED_INT, COB_ADD_S16, COB_ADD_S24, COB_ADD_S32, COB_ADD_S40, COB_ADD_S48, COB_ADD_S56, COB_ADD_S64, COB_ADD_S8, COB_ADD_U16, COB_ADD_U24, COB_ADD_U32, COB_ADD_U40, COB_ADD_U48, COB_ADD_U56, COB_ADD_U64, COB_ADD_U8, COB_ADDSWP_S16, COB_ADDSWP_S24, COB_ADDSWP_S32, COB_ADDSWP_S40, COB_ADDSWP_S48, COB_ADDSWP_S56, COB_ADDSWP_S64, COB_ADDSWP_U16, COB_ADDSWP_U24, COB_ADDSWP_U32, COB_ADDSWP_U40, COB_ADDSWP_U48, COB_ADDSWP_U56, COB_ADDSWP_U64, COB_CMP_ALIGN_S16, COB_CMP_ALIGN_S32, COB_CMP_ALIGN_S64, COB_CMP_ALIGN_U16, COB_CMP_ALIGN_U32, COB_CMP_ALIGN_U64, COB_CMP_PACKED_INT, COB_CMP_S16, COB_CMP_S24, COB_CMP_S32, COB_CMP_S40, COB_CMP_S48, COB_CMP_S56, COB_CMP_S64, COB_CMP_S8, COB_CMP_U16, COB_CMP_U24, COB_CMP_U32, COB_CMP_U40, COB_CMP_U48, COB_CMP_U56, COB_CMP_U64, COB_CMP_U8, COB_CMPSWP_ALIGN_S16, COB_CMPSWP_ALIGN_S32, COB_CMPSWP_ALIGN_S64, COB_CMPSWP_ALIGN_U16, COB_CMPSWP_ALIGN_U32, COB_CMPSWP_ALIGN_U64, COB_CMPSWP_S16, COB_CMPSWP_S24, COB_CMPSWP_S32, COB_CMPSWP_S40, COB_CMPSWP_S48, COB_CMPSWP_S56, COB_CMPSWP_S64, COB_CMPSWP_U16, COB_CMPSWP_U24, COB_CMPSWP_U32, COB_CMPSWP_U40, COB_CMPSWP_U48, COB_CMPSWP_U56, COB_CMPSWP_U64, COB_GET_NUMDISP, COB_GET_PACKED_INT, COB_POINTER_MANIP, COB_SET_SCREEN, COB_SETSWP_S16, COB_SETSWP_S24, COB_SETSWP_S32, COB_SETSWP_S40, COB_SETSWP_S48, COB_SETSWP_S56, COB_SETSWP_S64, COB_SETSWP_U16, COB_SETSWP_U24, COB_SETSWP_U32, COB_SETSWP_U40, COB_SETSWP_U48, COB_SETSWP_U56, COB_SETSWP_U64, COB_SUB_ALIGN_S16, COB_SUB_ALIGN_S32, COB_SUB_ALIGN_S64, COB_SUB_ALIGN_U16, COB_SUB_ALIGN_U32, COB_SUB_ALIGN_U64, COB_SUB_S16, COB_SUB_S24, COB_SUB_S32, COB_SUB_S40, COB_SUB_S48, COB_SUB_S56, COB_SUB_S64, COB_SUB_S8, COB_SUB_U16, COB_SUB_U24, COB_SUB_U32, COB_SUB_U40, COB_SUB_U48, COB_SUB_U56, COB_SUB_U64, COB_SUB_U8, COB_SUBSWP_S16, COB_SUBSWP_S24, COB_SUBSWP_S32, COB_SUBSWP_S40, COB_SUBSWP_S48, COB_SUBSWP_S56, COB_SUBSWP_S64, COB_SUBSWP_U16, COB_SUBSWP_U24, COB_SUBSWP_U32, COB_SUBSWP_U40, COB_SUBSWP_U48, COB_SUBSWP_U56, COB_SUBSWP_U64, COBC_ABORT, cobc_abort_pr(), and output_storage().
Referenced by codegen().
54 output_storage (
"cob_set_screen (cob_screen *s, cob_screen *next,");
55 output_storage (
" cob_screen *prev, cob_screen *child, cob_screen *parent,");
58 output_storage (
" cob_field *foreg, cob_field *backg, cob_field *prompt,");
59 output_storage (
" const int type, const int occurs, const int attr)");
80 output_storage (
"cob_pointer_manip (cob_field *f1, cob_field *f2, const unsigned int addsub)");
95 output_storage (
"cob_get_numdisp (const void *data, const size_t size)");
113 output_storage (
"cob_cmp_packed_int (const cob_field *f, const cob_s64_t n)");
121 output_storage (
" for (size = 0; size < f->size - 1; ++size, ++p) {");
145 output_storage (
" for (size = 0; size < f->size - 1; ++size, ++p) {");
162 output_storage (
"cob_add_packed_int (cob_field *f, const int val)");
191 output_storage (
" for (size = 0; size < f->size - 1; ++size, --p) {");
195 output_storage (
" inc = ((*p >> 4) * 10) + (*p & 0x0f) + carry + (n %% 100);");
211 output_storage (
"cob_cmp_align_u16 (const void *p, const cob_s64_t n)");
225 output_storage (
"cob_cmp_align_s16 (const void *p, const cob_s64_t n)");
236 output_storage (
"cob_cmp_align_u32 (const void *p, const cob_s64_t n)");
250 output_storage (
"cob_cmp_align_s32 (const void *p, const cob_s64_t n)");
261 output_storage (
"cob_cmp_align_u64 (const void *p, const cob_s64_t n)");
275 output_storage (
"cob_cmp_align_s64 (const void *p, const cob_s64_t n)");
386 output_storage (
"cob_cmpswp_align_u16 (const void *p, const cob_s64_t n)");
393 output_storage (
" val = COB_BSWAP_16 (*(unsigned short __unaligned *)p);");
400 output_storage (
"cob_cmpswp_align_s16 (const void *p, const cob_s64_t n)");
404 output_storage (
" val = COB_BSWAP_16 (*(short __unaligned *)p);");
411 output_storage (
"cob_cmpswp_align_u32 (const void *p, const cob_s64_t n)");
418 output_storage (
" val = COB_BSWAP_32 (*(unsigned int __unaligned *)p);");
425 output_storage (
"cob_cmpswp_align_s32 (const void *p, const cob_s64_t n)");
436 output_storage (
"cob_cmpswp_align_u64 (const void *p, const cob_s64_t n)");
443 output_storage (
" val = COB_BSWAP_64 (*(cob_u64_t __unaligned *)p);");
450 output_storage (
"cob_cmpswp_align_s64 (const void *p, const cob_s64_t n)");
454 output_storage (
" val = COB_BSWAP_64 (*(cob_s64_t __unaligned *)p);");
468 output_storage (
" return (*(const unsigned char *)p < n) ? -1 : (*(const unsigned char *)p > n);");
476 output_storage (
" return (*(const signed char *)p < n) ? -1 : (*(const signed char *)p > n);");
482 output_storage (
"cob_cmp_u16 (const void *p, const cob_s64_t n)");
484 #ifndef COB_ALLOW_UNALIGNED
492 #ifdef COB_ALLOW_UNALIGNED
493 output_storage (
" val = *(const unsigned short __unaligned *)p;");
504 output_storage (
"cob_cmp_s16 (const void *p, const cob_s64_t n)");
508 #ifdef COB_ALLOW_UNALIGNED
522 output_storage (
"cob_cmp_u24 (const void *p, const cob_s64_t n)");
530 #ifdef WORDS_BIGENDIAN
542 output_storage (
"cob_cmp_s24 (const void *p, const cob_s64_t n)");
547 #ifdef WORDS_BIGENDIAN
560 output_storage (
"cob_cmp_u32 (const void *p, const cob_s64_t n)");
562 #ifndef COB_ALLOW_UNALIGNED
570 #ifdef COB_ALLOW_UNALIGNED
582 output_storage (
"cob_cmp_s32 (const void *p, const cob_s64_t n)");
586 #ifdef COB_ALLOW_UNALIGNED
600 output_storage (
"cob_cmp_u40 (const void *p, const cob_s64_t n)");
608 #ifdef WORDS_BIGENDIAN
620 output_storage (
"cob_cmp_s40 (const void *p, const cob_s64_t n)");
625 #ifdef WORDS_BIGENDIAN
638 output_storage (
"cob_cmp_u48 (const void *p, const cob_s64_t n)");
646 #ifdef WORDS_BIGENDIAN
658 output_storage (
"cob_cmp_s48 (const void *p, const cob_s64_t n)");
663 #ifdef WORDS_BIGENDIAN
676 output_storage (
"cob_cmp_u56 (const void *p, const cob_s64_t n)");
684 #ifdef WORDS_BIGENDIAN
696 output_storage (
"cob_cmp_s56 (const void *p, const cob_s64_t n)");
701 #ifdef WORDS_BIGENDIAN
714 output_storage (
"cob_cmp_u64 (const void *p, const cob_s64_t n)");
716 #ifndef COB_ALLOW_UNALIGNED
724 #ifdef COB_ALLOW_UNALIGNED
736 output_storage (
"cob_cmp_s64 (const void *p, const cob_s64_t n)");
740 #ifdef COB_ALLOW_UNALIGNED
774 #ifdef COB_ALLOW_UNALIGNED
792 #ifdef COB_ALLOW_UNALIGNED
813 #ifdef WORDS_BIGENDIAN
831 #ifdef WORDS_BIGENDIAN
839 #ifdef WORDS_BIGENDIAN
852 #ifdef COB_ALLOW_UNALIGNED
870 #ifdef COB_ALLOW_UNALIGNED
891 #ifdef WORDS_BIGENDIAN
909 #ifdef WORDS_BIGENDIAN
917 #ifdef WORDS_BIGENDIAN
933 #ifdef WORDS_BIGENDIAN
951 #ifdef WORDS_BIGENDIAN
959 #ifdef WORDS_BIGENDIAN
975 #ifdef WORDS_BIGENDIAN
993 #ifdef WORDS_BIGENDIAN
1001 #ifdef WORDS_BIGENDIAN
1014 #ifdef COB_ALLOW_UNALIGNED
1032 #ifdef COB_ALLOW_UNALIGNED
1066 #ifdef COB_ALLOW_UNALIGNED
1084 #ifdef COB_ALLOW_UNALIGNED
1105 #ifdef WORDS_BIGENDIAN
1123 #ifdef WORDS_BIGENDIAN
1131 #ifdef WORDS_BIGENDIAN
1144 #ifdef COB_ALLOW_UNALIGNED
1162 #ifdef COB_ALLOW_UNALIGNED
1183 #ifdef WORDS_BIGENDIAN
1201 #ifdef WORDS_BIGENDIAN
1209 #ifdef WORDS_BIGENDIAN
1225 #ifdef WORDS_BIGENDIAN
1243 #ifdef WORDS_BIGENDIAN
1251 #ifdef WORDS_BIGENDIAN
1267 #ifdef WORDS_BIGENDIAN
1285 #ifdef WORDS_BIGENDIAN
1293 #ifdef WORDS_BIGENDIAN
1306 #ifdef COB_ALLOW_UNALIGNED
1324 #ifdef COB_ALLOW_UNALIGNED
1342 output_storage (
"cob_cmpswp_u16 (const void *p, const cob_s64_t n)");
1344 #ifndef COB_ALLOW_UNALIGNED
1352 #ifdef COB_ALLOW_UNALIGNED
1353 output_storage (
" val = COB_BSWAP_16 (*(unsigned short __unaligned *)p);");
1365 output_storage (
"cob_cmpswp_s16 (const void *p, const cob_s64_t n)");
1369 #ifdef COB_ALLOW_UNALIGNED
1370 output_storage (
" val = COB_BSWAP_16 (*(short __unaligned *)p);");
1384 output_storage (
"cob_cmpswp_u24 (const void *p, const cob_s64_t n)");
1401 output_storage (
"cob_cmpswp_s24 (const void *p, const cob_s64_t n)");
1416 output_storage (
"cob_cmpswp_u32 (const void *p, const cob_s64_t n)");
1418 #ifndef COB_ALLOW_UNALIGNED
1426 #ifdef COB_ALLOW_UNALIGNED
1427 output_storage (
" val = COB_BSWAP_32 (*(const unsigned int __unaligned *)p);");
1439 output_storage (
"cob_cmpswp_s32 (const void *p, const cob_s64_t n)");
1443 #ifdef COB_ALLOW_UNALIGNED
1444 output_storage (
" val = COB_BSWAP_32 (*(const int __unaligned *)p);");
1458 output_storage (
"cob_cmpswp_u40 (const void *p, const cob_s64_t n)");
1475 output_storage (
"cob_cmpswp_s40 (const void *p, const cob_s64_t n)");
1490 output_storage (
"cob_cmpswp_u48 (const void *p, const cob_s64_t n)");
1507 output_storage (
"cob_cmpswp_s48 (const void *p, const cob_s64_t n)");
1522 output_storage (
"cob_cmpswp_u56 (const void *p, const cob_s64_t n)");
1539 output_storage (
"cob_cmpswp_s56 (const void *p, const cob_s64_t n)");
1554 output_storage (
"cob_cmpswp_u64 (const void *p, const cob_s64_t n)");
1556 #ifndef COB_ALLOW_UNALIGNED
1564 #ifdef COB_ALLOW_UNALIGNED
1565 output_storage (
" val = COB_BSWAP_64 (*(const cob_u64_t __unaligned *)p);");
1577 output_storage (
"cob_cmpswp_s64 (const void *p, const cob_s64_t n)");
1581 #ifdef COB_ALLOW_UNALIGNED
1582 output_storage (
" val = COB_BSWAP_64 (*(const cob_s64_t __unaligned *)p);");
1601 #ifdef COB_ALLOW_UNALIGNED
1602 output_storage (
" n = COB_BSWAP_16 (*(unsigned short __unaligned *)p);");
1604 output_storage (
" *(unsigned short __unaligned *)p = COB_BSWAP_16(n);");
1625 #ifdef COB_ALLOW_UNALIGNED
1689 #ifdef COB_ALLOW_UNALIGNED
1690 output_storage (
" n = COB_BSWAP_32 (*(unsigned int __unaligned *)p);");
1692 output_storage (
" *(unsigned int __unaligned *)p = COB_BSWAP_32(n);");
1717 #ifdef COB_ALLOW_UNALIGNED
1901 #ifdef COB_ALLOW_UNALIGNED
1902 output_storage (
" n = COB_BSWAP_64 (*(cob_u64_t __unaligned *)p);");
1904 output_storage (
" *(cob_u64_t __unaligned *)p = COB_BSWAP_64(n);");
1937 #ifdef COB_ALLOW_UNALIGNED
1938 output_storage (
" n = COB_BSWAP_64 (*(cob_s64_t __unaligned *)p);");
1940 output_storage (
" *(cob_s64_t __unaligned *)p = COB_BSWAP_64(n);");
1975 #ifdef COB_ALLOW_UNALIGNED
1976 output_storage (
" n = COB_BSWAP_16 (*(unsigned short __unaligned *)p);");
1978 output_storage (
" *(unsigned short __unaligned *)p = COB_BSWAP_16(n);");
1999 #ifdef COB_ALLOW_UNALIGNED
2063 #ifdef COB_ALLOW_UNALIGNED
2064 output_storage (
" n = COB_BSWAP_32 (*(unsigned int __unaligned *)p);");
2066 output_storage (
" *(unsigned int __unaligned *)p = COB_BSWAP_32(n);");
2091 #ifdef COB_ALLOW_UNALIGNED
2275 #ifdef COB_ALLOW_UNALIGNED
2276 output_storage (
" n = COB_BSWAP_64 (*(cob_u64_t __unaligned *)p);");
2278 output_storage (
" *(cob_u64_t __unaligned *)p = COB_BSWAP_64(n);");
2311 #ifdef COB_ALLOW_UNALIGNED
2312 output_storage (
" n = COB_BSWAP_64 (*(cob_s64_t __unaligned *)p);");
2314 output_storage (
" *(cob_s64_t __unaligned *)p = COB_BSWAP_64(n);");
2348 #ifdef COB_ALLOW_UNALIGNED
2350 output_storage (
" *(unsigned short __unaligned *)p = COB_BSWAP_16(n);");
2369 #ifdef COB_ALLOW_UNALIGNED
2422 #ifdef COB_ALLOW_UNALIGNED
2424 output_storage (
" *(unsigned int __unaligned *)p = COB_BSWAP_32(n);");
2445 #ifdef COB_ALLOW_UNALIGNED
2582 #ifdef COB_ALLOW_UNALIGNED
2584 output_storage (
" *(cob_u64_t __unaligned *)p = COB_BSWAP_64(n);");
2609 #ifdef COB_ALLOW_UNALIGNED
2611 output_storage (
" *(cob_s64_t __unaligned *)p = COB_BSWAP_64(n);");
void cobc_abort_pr(const char *fmt,...)
static void output_storage(const char *fmt,...)