[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Viuavm-commits] [SCM] Viua VM branch devel updated. v0.9.0-2621-g9ccb75
From: |
git |
Subject: |
[Viuavm-commits] [SCM] Viua VM branch devel updated. v0.9.0-2621-g9ccb755 |
Date: |
Sat, 7 Mar 2020 20:43:15 +0100 (CET) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Viua VM".
The branch, devel has been updated
via 9ccb755f218fb98dd546ee5b2a0c17e51fb5bb91 (commit)
via 746ffef888d9d2c17b0a7976b260beadaa1d2463 (commit)
via 2afcfa955a2e8deedaac622b4e5476f5e0b1e86d (commit)
via db92125cfc769e4c2e5c1613df518dd6a396c825 (commit)
from 87c17dc46819957e5388f596c93eb0e6b2fab63a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9ccb755f218fb98dd546ee5b2a0c17e51fb5bb91
Author: Marek Marecki <address@hidden>
Date: Sat Mar 7 19:33:18 2020 +0100
Remove old instruction decoder
The code is no longer needed.
commit 746ffef888d9d2c17b0a7976b260beadaa1d2463
Author: Marek Marecki <address@hidden>
Date: Sat Mar 7 20:36:35 2020 +0100
Update the way of obtaining build commit in Make
There isn't always a Git repository available.
commit 2afcfa955a2e8deedaac622b4e5476f5e0b1e86d
Author: Marek Marecki <address@hidden>
Date: Thu Dec 26 00:09:48 2019 +0100
Instructions implementations use new decoder
Decoding code could be reduced to a satisfying amount in most, but not
all, cases. Some instructions have variable layouts and may take many
kinds of operands which complicates decoding.
commit db92125cfc769e4c2e5c1613df518dd6a396c825
Author: Marek Marecki <address@hidden>
Date: Wed Dec 25 23:54:43 2019 +0100
New bytecode decoder
The new decoder has a much better API allowing for *huge* code savings
in client code (rougly 33% original line count is needed to decode the
instructions). Encoding structure is not changed, it remains exactly the
same, old, bloated encoding as it was... for now.
Now that we have the new simpler decoder and know what is needed to
actually decode the instructions we can work on the new *encoder*. And
then on a new assembler pipeline because, frankly, what we have now is
an embarassement.
-----------------------------------------------------------------------
Summary of changes:
Makefile | 4 +-
OP_DECODERS.txt | 388 -------------------------------
include/viua/bytecode/bytetypedef.h | 8 +-
include/viua/bytecode/codec.h | 96 ++++++++
include/viua/bytecode/codec/main.h | 49 ++++
include/viua/bytecode/decoder/operands.h | 167 -------------
include/viua/bytecode/operand_types.h | 8 +-
include/viua/process.h | 87 ++++++-
sample/asm/concurrency/hello_world.asm | 8 +-
scripts/get_head_commit.sh | 25 ++
src/bytecode/codec/main.cpp | 130 +++++++++++
src/bytecode/decoder/operands.cpp | 372 -----------------------------
src/process.cpp | 222 +++++++++++++++++-
src/process/dispatch.cpp | 6 +-
src/process/instr/arithmetic.cpp | 19 +-
src/process/instr/atom.cpp | 24 +-
src/process/instr/bits.cpp | 183 ++++-----------
src/process/instr/bool.cpp | 26 +--
src/process/instr/calls.cpp | 86 ++-----
src/process/instr/cast.cpp | 45 +---
src/process/instr/closure.cpp | 74 ++----
src/process/instr/concurrency.cpp | 132 +++--------
src/process/instr/float.cpp | 12 +-
src/process/instr/general.cpp | 34 +--
src/process/instr/int.cpp | 35 +--
src/process/instr/io.cpp | 71 ++----
src/process/instr/linking.cpp | 10 +-
src/process/instr/registers.cpp | 55 ++---
src/process/instr/str.cpp | 12 +-
src/process/instr/struct.cpp | 112 +++------
src/process/instr/tcmechanism.cpp | 59 ++---
src/process/instr/text.cpp | 147 +++---------
src/process/instr/vector.cpp | 157 ++++---------
33 files changed, 950 insertions(+), 1913 deletions(-)
delete mode 100644 OP_DECODERS.txt
create mode 100644 include/viua/bytecode/codec.h
create mode 100644 include/viua/bytecode/codec/main.h
delete mode 100644 include/viua/bytecode/decoder/operands.h
create mode 100755 scripts/get_head_commit.sh
create mode 100644 src/bytecode/codec/main.cpp
delete mode 100644 src/bytecode/decoder/operands.cpp
hooks/post-receive
--
Viua VM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Viuavm-commits] [SCM] Viua VM branch devel updated. v0.9.0-2621-g9ccb755,
git <=