--- /dev/null
+Index: priv/guest-x86/toIR.c
+===================================================================
+--- VEX/priv/guest-x86/toIR.c (wersja 1331)
++++ VEX/priv/guest-x86/toIR.c (wersja 1332)
+@@ -11353,11 +11353,11 @@
+ dres.whatNext = Dis_StopHere;
+ break;
+
+-//-- case 0xC3: /* REP RET */
+-//-- /* AMD K7/K8-specific optimisation; faster than vanilla RET */
+-//-- dis_ret(cb, 0);
+-//-- DIP("rep ret\n");
+-//-- break;
++ case 0xC3: /* REP RET -- same as normal ret? */
++ dis_ret(0);
++ dres.whatNext = Dis_StopHere;
++ DIP("rep ret\n");
++ break;
+
+ default:
+ goto decode_failure;
Group: Development/Tools
Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
# Source0-md5: e976a343c61d9505162f595a8aeb09c1
+Patch0: %{name}-repret.patch
URL: http://valgrind.org/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q
+%patch0 -p0
%build
%{__aclocal}