version 1.19, 2005/12/31 15:46:09
|
version 1.23, 2010/12/31 18:09:02
|
Line 1
|
Line 1
|
\ Gforth superinstructions and stack caching replicas |
\ Gforth superinstructions and stack caching replicas |
|
|
\ Copyright (C) 2003,2004,2005 Free Software Foundation, Inc. |
\ Copyright (C) 2003,2004,2005,2007,2010 Free Software Foundation, Inc. |
|
|
\ This file is part of Gforth. |
\ This file is part of Gforth. |
|
|
\ Gforth is free software; you can redistribute it and/or |
\ Gforth is free software; you can redistribute it and/or |
\ modify it under the terms of the GNU General Public License |
\ modify it under the terms of the GNU General Public License |
\ as published by the Free Software Foundation; either version 2 |
\ as published by the Free Software Foundation, either version 3 |
\ of the License, or (at your option) any later version. |
\ of the License, or (at your option) any later version. |
|
|
\ This program is distributed in the hope that it will be useful, |
\ This program is distributed in the hope that it will be useful, |
Line 15
|
Line 15
|
\ GNU General Public License for more details. |
\ GNU General Public License for more details. |
|
|
\ You should have received a copy of the GNU General Public License |
\ You should have received a copy of the GNU General Public License |
\ along with this program; if not, write to the Free Software |
\ along with this program. If not, see http://www.gnu.org/licenses/. |
\ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. |
|
|
|
\ taken from David Gregg's EuroForth 2001 paper; omitted some sequences |
\ taken from David Gregg's EuroForth 2001 paper; omitted some sequences |
\ eliminated for gforth-native: |
\ eliminated for gforth-native: |
Line 53 super23 = useraddr !
|
Line 52 super23 = useraddr !
|
super25 = @ ;s |
super25 = @ ;s |
super26 = lit @ + |
super26 = lit @ + |
super27 = dup @ |
super27 = dup @ |
|
\ super28 = lit execute \ currently not supported |
|
|
\F 0 [if] |
\F 0 [if] |
|
|
Line 251 super27 = dup @
|
Line 251 super27 = dup @
|
\ \E prim-states flush-icache \ 1 |
\ \E prim-states flush-icache \ 1 |
\ \E prim-states cmove \ 1 |
\ \E prim-states cmove \ 1 |
\ \E prim-states (system) \ 1 |
\ \E prim-states (system) \ 1 |
|
\E S0 S0 state-prim abi-call |
|
\E S0 S0 state-prim ;abi-code-exec |
|
|
\E ' noop is output-nextp0 |
\E ' noop is output-nextp0 |
\E ' noop is output-nextp1 |
\E ' noop is output-nextp1 |