[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Bug: "mov -0x10(%rbp), %eax", but source is 8-bit sig
From: |
Steffen Nurpmeso |
Subject: |
Re: [Tinycc-devel] Bug: "mov -0x10(%rbp), %eax", but source is 8-bit signed type |
Date: |
Mon, 25 Jun 2018 16:31:40 +0200 |
User-agent: |
s-nail v14.9.10-138-gbb01f2b9-dirty |
Michael Matz wrote in <address@hidden>:
|On Fri, 22 Jun 2018, Steffen Nurpmeso wrote:
|
|> if(use_shexp){
|> 27d7: 8b 45 f0 mov -0x10(%rbp),%eax
|>
|> That should be movsbl i think.
|
|Yes. The x86-64 port didn't correctly set the VT_LVAL_xxx bits for
|arguments. Fixed in mob.
My code changed, but anyway this is fantastic, thank you!
Ciao,
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)