S
S
Semyon Dubina2013-12-06 08:54:24
gdb
Semyon Dubina, 2013-12-06 08:54:24

How to determine hardware support for a function (eg fma from math.h C99) using gdb?

Playing around repeating the standard library for C99, a function is defined in math.h

fma(x,y,z) {
    return (x*y) + z;
}

which has a hardware implementation in some x86 and many arm's. The question arose: I compiled for the target platform with debug symbols, hooked up gdb ... And how to determine whether the hardware support for this function on the target platform is processed at runtime, so as not to explicitly request support through the specifications?

Answer the question

In order to leave comments, you need to log in

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question