This is the mail archive of the libc-help@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]

Need details about generating traps for floating point exceptions


Hi,


I am interested in knowing more about how traps are generated when floating
point exception occur.

Currently, gcc for RISC-V(riscv64-unknown-elf-gcc (GCC) 8.2.0) does not
generate traps on encountering

floating point exceptions.


I am going through glibc source code.  I found .c files for functions
defined in fenv.h to handle floating point

exceptions but i am not able to figure out how trap is generated.

Thanks

Faisal


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