From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31329 invoked by alias); 6 Nov 2007 13:46:06 -0000 Received: (qmail 31321 invoked by uid 22791); 6 Nov 2007 13:46:05 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.170) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Nov 2007 13:46:00 +0000 Received: by ug-out-1314.google.com with SMTP id o2so1252417uge for ; Tue, 06 Nov 2007 05:45:57 -0800 (PST) Received: by 10.78.204.1 with SMTP id b1mr4872131hug.1194356757169; Tue, 06 Nov 2007 05:45:57 -0800 (PST) Received: by 10.78.154.10 with HTTP; Tue, 6 Nov 2007 05:45:57 -0800 (PST) Message-ID: <7aa837f80711060545r6f5ba5f5od2370a92c706806b@mail.gmail.com> Date: Tue, 06 Nov 2007 13:46:00 -0000 From: "Grzegorz Cieslewski" To: gdb@sourceware.org Subject: Setting a 128 bit value of the vector register MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 0db46e25d37e07c2 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00035.txt.bz2 I tried setting the vector register on ppc to a 128 hex number but the gdb gave me an "Numeric constant too large". (gdb) info reg vr1 vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = { 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) set $vr0.uint128 = 0xfffffffffffffffff Numeric constant too large. I get identical problem when trying to write to an mmx register on x86. It happens whenever the number is larger than 64bits I know that I can brake the number in four peaces up and use ".v4_int32" to accomplish the same goal. I am just wondering if this is a bug or a "feature". -- ===================================================== Grzegorz Cieslewski Research Assistant High-performance Computing & Simulation (HCS) Research Laboratory University of Florida, Dept. of Electrical and Computer Engineering 330 Benton Hall, Gainesville, FL, 32611-6200 Phone: (352) 392-9041 Email: cieslewski@hcs.ufl.edu Web: www.hcs.ufl.edu =====================================================