From 688efba21c1ab144cda7dfba2b4440089d51c7ca Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 29 May 2002 23:38:23 +0000 Subject: [PATCH] Implement ADC Eb,Gb. Truly an unpopular instruction if it took anyone this long to fall across it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@340 --- configure.in | 2 +- coregrind/vg_to_ucode.c | 3 +++ vg_to_ucode.c | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index bc47a234a3..529ee9641c 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script. AC_INIT(vg_clientmalloc.c) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(valgrind, 20020524) +AM_INIT_AUTOMAKE(valgrind, 20020530) AM_MAINTAINER_MODE diff --git a/coregrind/vg_to_ucode.c b/coregrind/vg_to_ucode.c index d6b03bc3e5..da2871c3f1 100644 --- a/coregrind/vg_to_ucode.c +++ b/coregrind/vg_to_ucode.c @@ -3607,6 +3607,9 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd ) eip = dis_op2_E_G ( cb, OR, True, sz, eip, "or" ); break; + case 0x12: /* ADC Eb,Gb */ + eip = dis_op2_E_G ( cb, ADC, True, 1, eip, "adc" ); + break; case 0x13: /* ADC Ev,Gv */ eip = dis_op2_E_G ( cb, ADC, True, sz, eip, "adc" ); break; diff --git a/vg_to_ucode.c b/vg_to_ucode.c index d6b03bc3e5..da2871c3f1 100644 --- a/vg_to_ucode.c +++ b/vg_to_ucode.c @@ -3607,6 +3607,9 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd ) eip = dis_op2_E_G ( cb, OR, True, sz, eip, "or" ); break; + case 0x12: /* ADC Eb,Gb */ + eip = dis_op2_E_G ( cb, ADC, True, 1, eip, "adc" ); + break; case 0x13: /* ADC Ev,Gv */ eip = dis_op2_E_G ( cb, ADC, True, sz, eip, "adc" ); break; -- 2.47.3