bugTiny C Compiler - Bugs: bug #14516, some GCC asm syntax not support

 
 

bug #14516: some GCC asm syntax not support

Submitted by:  None
Submitted on:  Tue 13 Sep 2005 02:26:06 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Fabrice Bellard <bellard>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 19 Oct 2012 02:34:49 PM UTC, comment #1:

This was fixed by Fabrice Bellard in tcc 0.9.24.

Thanks for the bug report.

Regards.

Thomas Preud'homme <robotux>
Project Member
Tue 13 Sep 2005 02:26:06 AM UTC, original submission:

void test(int a, uint8_t *pixels)
{
__asm volatile(
"lea (%1, %0), %%eax \n\t"
: "+r" (pixels)
: "r" (a+64)
: "memory"
);
}

Index: tinycc/i386-asm.c
===================================================================
RCS file: /cvsroot/tinycc/tinycc/i386-asm.c,v
retrieving revision 1.6
diff -r1.6 i386-asm.c
323,324c323,326
< skip(',');
< op->shift = get_reg_shift(s1);
---

> if (tok == ',') {
> skip(',');
> op->shift = get_reg_shift(s1);
> }

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by robotux (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 19 Oct 2012 02:34:49 PM UTCrobotuxStatusNone=>Fixed
      Assigned toNone=>bellard
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1