From b80dbdb77d373cda27b00a742f17d1c385dc4a46 Mon Sep 17 00:00:00 2001 From: Arne Döring Date: Fri, 1 Feb 2019 12:12:10 +0100 Subject: Fix vm signed xor (#10519) * fix #10482 * undo changes * fix for bitwise not * remove dead opcode --- tests/vm/tbitops.nim | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'tests/vm') diff --git a/tests/vm/tbitops.nim b/tests/vm/tbitops.nim index 3d1a8aa0c..90d463ec9 100644 --- a/tests/vm/tbitops.nim +++ b/tests/vm/tbitops.nim @@ -7,25 +7,29 @@ import strutils const x = [1'i32, -1, -10, 10, -10, 10, -20, 30, -40, 50, 7 shl 28, -(7 shl 28), 7 shl 28, -(7 shl 28)] const y = [-1'i32, 1, -10, -10, 10, 10, -20, -30, 40, 50, 1 shl 30, 1 shl 30, -(1 shl 30), -(1 shl 30)] - const res_xor = block: var tmp: seq[int64] - for i in 0..