tccasm-arm64-quad.before (853B)
1 case TOK_ASMDIR_quad: 2 #ifdef TCC_TARGET_X86_64 3 size = 8; 4 goto asm_data; 5 #else 6 next(); 7 for(;;) { 8 #if HAVE_LONG_LONG 9 uint64_t vl; 10 #else 11 uint32_t vl; 12 #endif 13 const char *p; 14 15 p = tokc.str.data; 16 if (tok != TOK_PPNUM) { 17 error_constant: 18 tcc_error("64 bit constant"); 19 } 20 vl = strtoll(p, (char **)&p, 0); 21 if (*p != '\0') 22 goto error_constant; 23 next(); 24 if (sec->sh_type != SHT_NOBITS) { 25 /* XXX: endianness */ 26 gen_le32(vl); 27 #if HAVE_LONG_LONG 28 gen_le32(vl >> 32); 29 #endif 30 } else { 31 ind += 8; 32 } 33 if (tok != ',') 34 break; 35 next(); 36 } 37 break; 38 #endif