From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3501 invoked by alias); 17 Nov 2006 19:53:36 -0000 Received: (qmail 3489 invoked by uid 22791); 17 Nov 2006 19:53:35 -0000 X-Spam-Check-By: sourceware.org Received: from mail.oarcorp.com (HELO mail.oarcorp.com) (216.186.189.5) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 17 Nov 2006 19:53:30 +0000 Received: (qmail 28039 invoked by uid 507); 17 Nov 2006 19:53:28 -0000 Received: from 192.168.1.3 by mail.oarcorp.com (envelope-from , uid 501) with qmail-scanner-1.25st (spamassassin: 3.1.1. perlscan: 1.25st. Clear:RC:1(192.168.1.3):. Processed in 0.032064 secs); 17 Nov 2006 19:53:28 -0000 X-Qmail-Scanner-Mail-From: joel.sherrill@oarcorp.com via mail.oarcorp.com X-Qmail-Scanner: 1.25st (Clear:RC:1(192.168.1.3):. Processed in 0.032064 secs Process 28033) Received: from unknown (HELO ?192.168.1.3?) (192.168.1.3) by mail.oarcorp.com with SMTP; 17 Nov 2006 19:53:27 -0000 Message-ID: <455E1337.1050100@oarcorp.com> Date: Fri, 17 Nov 2006 19:53:00 -0000 From: Joel Sherrill User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: gdb@sourceware.org CC: Ralf Corsepius Subject: powerpc simulator instruction question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00127.txt.bz2 Hi, Version: gdb 6.5 with ppc simulator enabled. I have an RTEMS program which seems to have the FPU enabled OK since it executes the instructions at 0x9a0, 0x9ac, and 0x9b0. But it gets an exception 0x0700 at 0x9b4. 9a0: fd 8c 00 32 fmul f12,f12,f0 9a4: c0 09 0c e0 lfs f0,3296(r9) 9a8: 39 21 00 48 addi r9,r1,72 9ac: fd 8c 00 32 fmul f12,f12,f0 9b0: fd a0 60 1e fctiwz f13,f12 9b4: 7d a0 4f ae stfiwx f13,0,r9 The device tree file is: #address-cells 2 /openprom/init/register/pvr 0xfffe0000 /openprom/options/oea-memory-size 8388608 The code in question was compiled with -mcpu=603e. I have tried starting the simulator with no model argument (tar sim...), 603e (-m 603e) and 603 without any difference. The stfiwx was generated by gcc. Is the stfiwx not implemented in the simulator? Not valid? Any suggestions, patches? I can provide the executable in question if it helps someone. Thanks. --joel sherrill