tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] revert of "Identifiers can start and/or contain"


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] revert of "Identifiers can start and/or contain"
Date: Wed, 13 Apr 2016 06:01:11 +0300

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]