bug-mes
[Top][All Lists]
Advanced

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

Re: [bug-mes] mescc and Load/Store architectures


From: Jan Nieuwenhuizen
Subject: Re: [bug-mes] mescc and Load/Store architectures
Date: Thu, 07 Feb 2019 16:08:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Jan Nieuwenhuizen writes:

Oh, I just realise that whether or not we prototype/use these

> (define (armv4:label->arg info label i)
>   `(("ldr____$i32,%s" (#:address ,label))
>     ("push___%s)))

> (define (armv4:r-mem-add info v)
>   (let ((r (get-r info)))
>     `(,(if (< (abs v) #x1000) `(,(string-append "ldr___(%" "r),%s")
>                                 ,(string-append "add___$i8,(%" s ")") 
> (#:immediate1 ,v)
>                                 ,(string-append "str___%s,(" r ")"))
>            `(,(string-append "ldr___(%" "r),%s")
>              ,(string-append "add____$i32,(%" r ")") (#:immediate ,v)
>              ,(string-append "str___%s,(" r ")"))))))
>

for ARM, we can still use the same for x86 and thus keep using the same
M1 alphabet across processors.  That was probably part of your
suggestion, right?

That could be a feature, it could even reduce the alphabet specified in
x86.M1.  Not sure if a performance loss, if any, is relevant.

janneke

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com



reply via email to

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