]> sourceware.org Git - systemtap.git/commit
PR13838: Added basic floating point support to systemtap
authorAlice Zhang <alizhang@redhat.com>
Fri, 30 Oct 2020 06:33:01 +0000 (02:33 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 30 Oct 2020 15:17:23 +0000 (11:17 -0400)
commitee341273e99338808e9392f9bc7081e1d6c328e4
tree937a276fb1d395f8e83c75c16443f5f83e3e7d96
parent90f9123bb1406aca27c8135b99549f6c1ed8d42c
PR13838: Added basic floating point support to systemtap

runtime/softfloat.*: including floating point type definition
runtime/softfloat/*: all other required auxiliary functions

These are from https://github.com/ucb-bar/berkeley-softfloat-3
by John R. Hauser, thanks!

tapset/floatingpoing.stp: including fp conversion, fp arithmetic and
comparison functions testsuite/buildok/floatingpoint.stp: including testcase
for corresponding floatingpoing tapset main.cxx: changed sdt_benchmark part
of code for a demo of extracting floating point

Systemtap support 64 bit floating pounint (double type) under ieee754.
Conversions(fp <-> long, fp <-> string), arithmetic(add, sub, div, mul, sqrt)
and comparison between fp(less than, less than or equal to, equal) are
supported, corresponding tapset functions and test case are provided as well.
14 files changed:
NEWS
main.cxx
runtime/softfloat.c [new file with mode: 0644]
runtime/softfloat.h [new file with mode: 0644]
runtime/softfloat/internals.h [new file with mode: 0644]
runtime/softfloat/opt-GCC.h [new file with mode: 0644]
runtime/softfloat/platform.h [new file with mode: 0644]
runtime/softfloat/primitiveTypes.h [new file with mode: 0644]
runtime/softfloat/primitives.h [new file with mode: 0644]
runtime/softfloat/softfloat_types.h [new file with mode: 0644]
runtime/softfloat/specialize.h [new file with mode: 0644]
tapset/floatingpoint.stp [new file with mode: 0644]
testsuite/buildok/floatingpoint.stp [new file with mode: 0644]
testsuite/systemtap.pass1-4/buildok-dyninst.exp
This page took 0.032884 seconds and 5 git commands to generate.