> I reverted "Identifiers can start and/or contain '
A test program
.text
.align 4
.globl csum_partial
csum_partial:
<------>pushl %esi
<------>pushl %ebx
<------>movl 20(%esp),%eax<----># Function arg: unsigned int sum
<------>movl 16(%esp),%ecx<----># Function arg: int len
<------>movl 12(%esp),%esi<----># Function arg: unsigned char *buff
<------>testl $1, %esi<><------># Check alignment.
<------>jz L10<><------><------># Jump if alignment is boundary of 2bytes.

<------>movzbl (%esi), %ebx
<------>adcl %ebx, %eax
<------>roll $8, %eax
<------>inc %esi
L10:
<------>subl $2, %ecx<-><------># Alignment uses up two bytes.

If replace L10 with .L10 and compile it by tcc with ident_patch, then
objdump -d of the resulted *.o file don't show any asm code.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to