From 0fc86cca1fec0365f529a15fb1268f0e5c324744 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 20 May 2008 10:48:22 -0700 Subject: insns.pl: fix regex subgroup of /is4= codes The argument is now $1, not $2... --- insns.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insns.pl b/insns.pl index fdeeaa5..713a416 100644 --- a/insns.pl +++ b/insns.pl @@ -681,7 +681,7 @@ sub byte_code_compile($) { push(@codes, 0172, ($oppos{'s'} << 3)+$oppos{'i'}); $prefix_ok = 0; } elsif ($op =~ /^\/is4\=([0-9]+)$/) { - my $imm = $2; + my $imm = $1; if (!defined($oppos{'s'})) { die "$0: $line: $op without 's' operand\n"; } -- cgit v1.2.3