Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #447

Re: Font_DecodeMenu

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!216.196.110.144.MISMATCH!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date Thu, 16 Jun 2011 12:13:08 -0500
From "Ste (news)" <steve@revi11.plus.com>
Subject Re: Font_DecodeMenu
Newsgroups comp.sys.acorn.programmer
Date Thu, 16 Jun 2011 18:12:35 +0100
Message-ID <51e457e163steve@revi11.plus.com> (permalink)
References <51e32acc58Paul@sprie.nl> <mpro.lmsv0p01nzmww01kn.news@stevefryatt.org.uk> <4df83a04$0$14668$ba4acef3@reader.news.orange.fr> <mpro.lmuj8p02zu8sw01cg.news@stevefryatt.org.uk> <51e3e527c5steve@revi11.plus.com> <4dfa29aa$0$14673$ba4acef3@reader.news.orange.fr>
User-Agent Pluto/3.04d (RISC-OS/5.11) NewsHound/v1.50-32
Organization None
Lines 33
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-J5lACAIhgzh4Z7tQEAnOoFllWM/Whxte6/OSzfF8zZVZ/5HKCMK7v7IJaqkH8vI35essnuC1aiHtX/Q!aXdHBKEBxHaxl3FH/wUMrMMMsd8T4wtxYDl++FR+kmYxnVGa9t7pN+2LyOrt13o2UUG7foZD9Ggu!ag==
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2687
Xref x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:447

Show key headers only | View raw


In article <4dfa29aa$0$14673$ba4acef3@reader.news.orange.fr>,
   Rick Murray <heyrickmail-usenet@yahoo.co.uk> wrote:
> I notice in hacking around the PVR code, that at some point ARM based
> Linux altered SWI handling to call SWI &0 and pass the code in R7 instead
> of calling SWI &<code>. I wonder, given how this must then be picked
> apart in the SWI handler, how much of a speed increase this makes? It
> does seem to rather break the niceness of SWI <number>, however...

I don't know if you're aware of why they do it (apart from ARM deprecating
the field in the SWI instruction which contains the RISC OS SWI number)...

It's because putting the SWI number in the instruction means the SWI handler
has to load the word of memory containing the instruction into the data
cache (it will probably only be in the instruction cache at the time it is
executed) causing a whole line of dcache to be thrown out in the process. 

This is nasty - it'd be just lovely if there was some other register (co-pro
register or something) that the ARM could automatically dump the SWI number
before it branches to the vector. That would be faster for the SWI handler
and would eliminate the dcache pollution.

Sadly, because Linux (and presumably many other OSs) never bothered to use
the SWI number field, instead deciding to pass a reference to the routine in
a register, I don't think ARM have ever cared.


Ah, I see from your next post that you already knew. :)

Steve

-- 
Steve Revill @ Home
Note: All opinions expressed herein are my own.

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Font_DecodeMenu Paul Sprangers <Paul@sprie.nl> - 2011-06-14 12:24 +0200
  Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-14 15:54 +0200
    Re: Font_DecodeMenu Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-14 20:52 +0200
    Re: Font_DecodeMenu Paul Sprangers <Paul@sprie.nl> - 2011-06-14 23:56 +0200
  Re: Font_DecodeMenu Steve Fryatt <news@stevefryatt.org.uk> - 2011-06-14 22:43 +0100
    Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-15 06:50 +0200
      Re: Font_DecodeMenu Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-15 13:18 +0200
        Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-15 15:38 +0200
          Re: Font_DecodeMenu Steve Drain <steve@kappa.me.uk> - 2011-06-15 17:20 +0100
      Re: Font_DecodeMenu Steve Fryatt <news@stevefryatt.org.uk> - 2011-06-15 20:24 +0100
        Re: Font_DecodeMenu "Ste (news)" <steve@revi11.plus.com> - 2011-06-15 21:19 +0100
          Re: Font_DecodeMenu Steve Fryatt <news@stevefryatt.org.uk> - 2011-06-15 22:14 +0100
            Re: Font_DecodeMenu "Ste (news)" <steve@revi11.plus.com> - 2011-06-16 14:35 +0100
              Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-16 18:10 +0200
          Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-16 18:04 +0200
            Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-16 18:51 +0200
            Re: Font_DecodeMenu "Ste (news)" <steve@revi11.plus.com> - 2011-06-16 18:12 +0100
              Re: Font_DecodeMenu John Tytgat <this@is.invalid> - 2011-06-21 19:19 +0200
                Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-22 19:18 +0200
                Re: Font_DecodeMenu "Ste (news)" <steve@revi11.plus.com> - 2011-06-25 17:53 +0100
                Re: Font_DecodeMenu John Tytgat <this@is.invalid> - 2011-06-27 13:06 +0200
        Re: Font_DecodeMenu Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2011-06-15 22:13 +0100

csiph-web