[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 12/15: Remove implementation of logsub VM op
From: |
Andy Wingo |
Subject: |
[Guile-commits] 12/15: Remove implementation of logsub VM op |
Date: |
Fri, 13 Apr 2018 04:41:13 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit b32d3cc6f7f521f67637f30f83327110264b9dee
Author: Andy Wingo <address@hidden>
Date: Thu Apr 12 17:22:11 2018 +0200
Remove implementation of logsub VM op
* libguile/vm-engine.c (logsub): Remove implementation.
---
libguile/vm-engine.c | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/libguile/vm-engine.c b/libguile/vm-engine.c
index dc61982..b6638c4 100644
--- a/libguile/vm-engine.c
+++ b/libguile/vm-engine.c
@@ -2566,19 +2566,8 @@ VM_NAME (scm_i_thread *thread, struct scm_vm *vp,
VM_DEFINE_OP (161, unused_161, NULL, NOP)
{
- ARGS2 (x, y);
-
- if (SCM_I_INUMP (x) && SCM_I_INUMP (y))
- {
- scm_t_signed_bits a, b;
-
- a = SCM_I_INUM (x);
- b = SCM_I_INUM (y);
-
- RETURN (SCM_I_MAKINUM (a & ~b));
- }
-
- RETURN_EXP (scm_logand (x, scm_lognot (y)));
+ vm_error_bad_instruction (op);
+ abort (); /* never reached */
}
/* ulogand dst:8 a:8 b:8
- [Guile-commits] 05/15: Disable f64->scm instruction, (continued)
- [Guile-commits] 05/15: Disable f64->scm instruction, Andy Wingo, 2018/04/13
- [Guile-commits] 06/15: Remove scm->f64, f64->scm implementations, Andy Wingo, 2018/04/13
- [Guile-commits] 04/15: Instruction explosion for f64->scm, Andy Wingo, 2018/04/13
- [Guile-commits] 03/15: Add reifier for fadd/immediate., Andy Wingo, 2018/04/13
- [Guile-commits] 02/15: Slim heap-allocated flonums, Andy Wingo, 2018/04/13
- [Guile-commits] 01/15: Add scm->f64 intrinsic, Andy Wingo, 2018/04/13
- [Guile-commits] 11/15: logsub is intrinsic, Andy Wingo, 2018/04/13
- [Guile-commits] 09/15: u64->scm, s64->scm intrinsics, Andy Wingo, 2018/04/13
- [Guile-commits] 08/15: Remove scm->u64, etc implementations, Andy Wingo, 2018/04/13
- [Guile-commits] 10/15: Remove implementations of obsolete s64->scm, u64->scm insts, Andy Wingo, 2018/04/13
- [Guile-commits] 12/15: Remove implementation of logsub VM op,
Andy Wingo <=
- [Guile-commits] 07/15: scm->u64, scm->s64, scm->u64/truncate intrinsics, Andy Wingo, 2018/04/13
- [Guile-commits] 14/15: Remove implementation of atomic box ops, Andy Wingo, 2018/04/13
- [Guile-commits] 13/15: Explode atomic box ops to new atomic instructions, Andy Wingo, 2018/04/13
- [Guile-commits] 15/15: Remove unused macros in vm-engine, Andy Wingo, 2018/04/13