From: DJ Delorie <dj@redhat.com>
To: cgen@sources.redhat.com, sid@sources.redhat.com
Subject: xstormy16: more misalignment fixes.
Date: Fri, 02 May 2003 00:04:00 -0000 [thread overview]
Message-ID: <200305020004.h4204uc25137@greed.delorie.com> (raw)
Yet more fixes for the xstormy16 word-alignment rules.
[cgen]
2003-05-01 DJ Delorie <dj@redhat.com>
* cpu/xstormy16.cpu (alignfix-mem): Correct logic for unaligned
word accesses.
(set-alignfix-mem): Likewise.
[sid/component/cgen-cpu/xstormy16]
2003-05-01 DJ Delorie <dj@redhat.com>
* xstormy16-sem.cxx: Regenerate.
* xstormy16-write.cxx: Regenerate.
Index: cgen/cpu/xstormy16.cpu
===================================================================
RCS file: /cvs/uberbaum/./cgen/cpu/xstormy16.cpu,v
retrieving revision 1.8
diff -p -2 -r1.8 xstormy16.cpu
*** cgen/cpu/xstormy16.cpu 21 Mar 2003 06:15:55 -0000 1.8
--- cgen/cpu/xstormy16.cpu 1 May 2003 23:55:04 -0000
***************
*** 493,513 ****
(define-pmacro (alignfix-mem where)
! (if HI (and where 1)
! (or HI
! (and (sll (mem QI (sub where 1)) 8) #xFF00)
! (and (mem QI where) #xFF))
! (mem HI where)))
(define-pmacro (set-alignfix-mem where what)
! (sequence ((SI nwhere) (HI nwhat))
! (set nwhere where)
! (if (and nwhere 1)
! (sequence ()
! (set nwhat (or HI
! (and (sll what 8) #xFF00)
! (and (srl what 8) #xFF)))
! (set nwhere (sub nwhere 1)))
! (set nwhat what))
! (set (mem HI nwhere) what)))
(dni movlmemimm
--- 493,500 ----
(define-pmacro (alignfix-mem where)
! (mem HI (and where #xFFFE)))
(define-pmacro (set-alignfix-mem where what)
! (set (mem HI (and where #xFFFE)) what))
(dni movlmemimm
reply other threads:[~2003-05-02 0:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200305020004.h4204uc25137@greed.delorie.com \
--to=dj@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=sid@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).