[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 07/08: RTL test uses new instructions
From: |
Andy Wingo |
Subject: |
[Guile-commits] 07/08: RTL test uses new instructions |
Date: |
Mon, 30 Oct 2017 07:35:34 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 17cb3214558f88ee7923ba28a72cdd3afd919670
Author: Andy Wingo <address@hidden>
Date: Mon Oct 30 12:07:26 2017 +0100
RTL test uses new instructions
* test-suite/tests/rtl.test ("loop"): Update to use new instructions.
---
test-suite/tests/rtl.test | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/test-suite/tests/rtl.test b/test-suite/tests/rtl.test
index 316f455..fcb3666 100644
--- a/test-suite/tests/rtl.test
+++ b/test-suite/tests/rtl.test
@@ -1,6 +1,6 @@
;;;; Low-level tests of the bytecode assembler -*- mode: scheme; coding:
utf-8; -*-
;;;;
-;;;; Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015 Free Software
Foundation, Inc.
+;;;; Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2017 Free Software
Foundation, Inc.
;;;;
;;;; This library is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public
@@ -116,16 +116,17 @@ a procedure."
(begin-standard-arity (x) 4 #f)
(definition closure 0 scm)
(definition x 1 scm)
- (br fix-body)
+ (j fix-body)
(label loop-head)
- (br-if-= 1 2 #f out)
+ (=? 1 2)
+ (je out)
(add 0 1 0)
(add/immediate 1 1 1)
- (br loop-head)
+ (j loop-head)
(label fix-body)
(load-constant 1 0)
(load-constant 0 0)
- (br loop-head)
+ (j loop-head)
(label out)
(mov 2 0)
(return-values 2)
- [Guile-commits] branch master updated (d1c69b5 -> 4267a8b), Andy Wingo, 2017/10/30
- [Guile-commits] 03/08: Fix argument type of arguments<=? instruction, Andy Wingo, 2017/10/30
- [Guile-commits] 02/08: Remove assembler exports for old-style predicates and branches, Andy Wingo, 2017/10/30
- [Guile-commits] 07/08: RTL test uses new instructions,
Andy Wingo <=
- [Guile-commits] 04/08: Emit new instructions in function preludes, Andy Wingo, 2017/10/30
- [Guile-commits] 06/08: Simplify special immediate predicate inferrer., Andy Wingo, 2017/10/30
- [Guile-commits] 01/08: Lower logtest branches to instead be 'zero? logand', Andy Wingo, 2017/10/30
- [Guile-commits] 05/08: Remove disassembler support for old-style jump instructions, Andy Wingo, 2017/10/30
- [Guile-commits] 08/08: Remove old branching instructions from VM, Andy Wingo, 2017/10/30