This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR86257, i386/debug] Fix insn prefix in tls_global_dynamic_64_<mode>
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Tom de Vries <tdevries at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Uros Bizjak <ubizjak at gmail dot com>
- Date: Sun, 24 Jun 2018 23:59:00 +0200
- Subject: Re: [PATCH, PR86257, i386/debug] Fix insn prefix in tls_global_dynamic_64_<mode>
- References: <20180624115027.zjjyorpdpb32ekm6@localhost.localdomain>
Hi,
searching for other occurences I see:
jan@skylake:~/trunk/gcc/config/i386> grep ASM_BYTE *md *.c
i386.md: return ASM_BYTE "0x9e";
i386.md: fputs (ASM_BYTE "0x66\n", asm_out_file);
i386.md: fputs (ASM_BYTE "0x66\n", asm_out_file);
i386.c: fputs (ASM_BYTE "0x48, 0x8d, 0xa4, 0x24, 0x00, 0x00, 0x00, 0x00\n",
i386.c: fputs (ASM_BYTE "0x8b, 0xff, 0x55, 0x8b, 0xec\n", asm_out_file);
i386.c: fputs ("\n" ASM_BYTE "0xf2\n\t", file);
i386.c: fputs ("\n" ASM_BYTE "0xf3\n\t", file);
i386.c: fprintf (file, "1:" ASM_BYTE "0x0f, 0x1f, 0x44, 0x00, 0x00\n");
i386.c:#undef TARGET_ASM_BYTE_OP
i386.c:#define TARGET_ASM_BYTE_OP ASM_BYTE
Perhaps we want to add new macro like ASM_INSN_BYTE which is used to output
such prefixes...
Honza