[Bug gas/11625] internal error in evax_frob_symbol assembling gmp 4.3.2 cntlz.asm

2010-05-26 Thread gingold at adacore dot com

--- Additional Comments From gingold at adacore dot com  2010-05-26 14:04 
---
Created an attachment (id=4816)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=4816action=view)
testcase


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11625

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/11625] internal error in evax_frob_symbol assembling gmp 4.3.2 cntlz.asm

2010-05-26 Thread gingold at adacore dot com

--- Additional Comments From gingold at adacore dot com  2010-05-26 15:02 
---
Created an attachment (id=4819)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=4819action=view)
The right testcase

Sorry, the previous one was truncated.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11625

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/11625] internal error in evax_frob_symbol assembling gmp 4.3.2 cntlz.asm

2010-05-26 Thread gingold at adacore dot com

--- Additional Comments From gingold at adacore dot com  2010-05-26 14:06 
---
(In reply to comment #2)
 Hi Jay,
 
   I have not had a lot of luck reproducing this problem.  Is there any chance
 you could capture the tmp-cntlz.s file and upload that to this PR ?

I have attached the testcase.  I plan to investigate.
The input doesn't follow alpha vms conventions, but gas shouldn't crash on it.

Tristan.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11625

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/11625] internal error in evax_frob_symbol assembling gmp 4.3.2 cntlz.asm

2010-05-25 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-05-25 09:52 
---
Hi Jay,

  I have not had a lot of luck reproducing this problem.  Is there any chance
you could capture the tmp-cntlz.s file and upload that to this PR ?

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=11625

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/11625] internal error in evax_frob_symbol assembling gmp 4.3.2 cntlz.asm

2010-05-23 Thread jay dot krell at cornell dot edu

--- Additional Comments From jay dot krell at cornell dot edu  2010-05-23 
12:57 ---
cntlz.asm is:

ASM_START()
EXTERN(__clz_tab)
PROLOGUE(mpn_count_leading_zeros,gp)
cmpbge  r31,  r16, r1
LEA(r3,__clz_tab)
sra r1,   1,   r1
xor r1,   127, r1
srl r16,  1,   r16
addqr1,   r3,  r1
ldq_u   r0,   0(r1)
lda r2,   64
extbl   r0,   r1,   r0
s8subl  r0,   8,r0
srl r16,  r0,   r16
addqr16,  r3,   r16
ldq_u   r1,   0(r16)
extbl   r1,   r16,  r1
subqr2,   r1,   r2
subqr2,   r0,   r0
ret r31,  (r26),1
EPILOGUE(mpn_count_leading_zeros)
ASM_END()



config.m4 is probably:

dnl config.m4.  Generated automatically by configure.
changequote(,)
ifdef(__CONFIG_M4_INCLUDED__,,
define(CONFIG_TOP_SRCDIR,`/src/gmp-4.3.2')
define(WANT_ASSERT,0)
define(WANT_PROFILING,`no')
define(SIZEOF_UNSIGNED,4)
define(GMP_LIMB_BITS,32)
define(GMP_NAIL_BITS,0)
define(GMP_NUMB_BITS,eval(GMP_LIMB_BITS-GMP_NAIL_BITS))
)
changequote(`,')
ifdef(`__CONFIG_M4_INCLUDED__',,`
include(CONFIG_TOP_SRCDIR`/mpn/asm-defs.m4')
define_not_for_expansion(`HAVE_HOST_CPU_none')
define_not_for_expansion(`HAVE_ABI_long')
define_not_for_expansion(`HAVE_LIMB_LITTLE_ENDIAN')
define_not_for_expansion(`HAVE_DOUBLE_IEEE_LITTLE_ENDIAN')
')
define(`__CONFIG_M4_INCLUDED__')


though I might have the wrong one.

I wasn't able to attach more than one file at a time.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11625

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils