guix-devel
[Top][All Lists]
Advanced

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

Re: GNU Mes 0.26 released


From: Simon Tournier
Subject: Re: GNU Mes 0.26 released
Date: Fri, 08 Dec 2023 18:47:50 +0100

Hi Janneke,

On Sun, 03 Dec 2023 at 13:50, Janneke Nieuwenhuizen <janneke@gnu.org> wrote:

> We are happy to announce the release of GNU Mes 0.26.

Cool!

A naive question. :-)  I was randomly roaming and I have seen, for
example, in file module/mescc/x86_64/as.scm:

--8<---------------cut here---------------start------------->8---
;; AMD
(define (x86_64:function-preamble info . rest)
  `(("push___%rbp")
    ("mov____%rsp,%rbp")
    ("sub____$i32,%rbp" "%0x80")
    ,@(list-head
       '(("mov____%rdi,0x8(%rbp)" "!0x10")
         ("mov____%rsi,0x8(%rbp)" "!0x18")
         ("mov____%rdx,0x8(%rbp)" "!0x20")
         ("mov____%rcx,0x8(%rbp)" "!0x28")
         ("mov____%r8,0x8(%rbp)" "!0x30")
         ("mov____%r9,0x8(%rbp)" "!0x38"))
       (length (car rest)))))

;; traditional
(define (x86_64:function-preamble info . rest)
  `(("push___%rbp")
    ("mov____%rsp,%rbp")))
--8<---------------cut here---------------end--------------->8---

And my question is: the procedure name is exactly the same therefore how
is the correct one picked?


Thanks for all this!

Cheers,
simon



reply via email to

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