This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove alpha specific fmax, fmin to fix sNaN handling [BZ #20947]


On Tue, 2 Jan 2018, Adhemerval Zanella wrote:

> It is the 'cvttq/svm' which changes the fpcr and sets INE bit.
> 
> (gdb) i r fpcr
> fpcr           0x680e000000000000       7497930429618454528
> (gdb) ni
> 0x000002000009a194      38            __asm (
> (gdb) i r fpcr
> fpcr           0xe90e000000200000       -1653384013196296192
> 
> (0x000002000009a194 is the cvttq/svm from s_ceil.S).

 FYI, you can use `x /i $pc' and also `display /i $pc' to have the current 
machine instruction disassembled in GDB.

  Maciej


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]