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

[Bug math/20123] [powerpc] Enable libmvec vector math library on POWER VSX


https://sourceware.org/bugzilla/show_bug.cgi?id=20123

Hi-Angel <hi-angel at yandex dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hi-angel at yandex dot ru

--- Comment #1 from Hi-Angel <hi-angel at yandex dot ru> ---
(In reply to David Edelsohn from comment #0)
> Add PPC64 LE Linux support for the libmvec vector math library to exploit
> the POWER8 VSX SIMD instruction set.

Hello, I wanted to take a stab at it, but could you please clarify how am I
supposed to test it? I found "POWER9 Functional Emulator"¹, which comes with a
README on how to run it, however boot-linux-le-skiboot.tcl which supposedly
ought to run a VM quits with errors. E.g.:

        $ tclsh /opt/ibm/systemsim-p9/run/p9/linux/boot-linux-le-skiboot.tcl
        no such variable
                (read trace on "env(LIB_DIR)")
                invoked from within
        "source $env(LIB_DIR)/p9/systemsim.tcl"
                (file
"/opt/ibm/systemsim-p9/run/p9/linux/boot-linux-le-skiboot.tcl" line 77)

I managed to workaround env-related errors by wrapping into a script, but whole
tcl-part seems to be broken because scripts lack lots of functions and
variables. And they're really don't seem to be defined, e.g. it's failing on
renaming `::help`, but there isn't `proc help` to begin with. I defined `help`,
but now it's failing on non-existing `config` variable.

Initially I tried it on Archlinux, but then I installed a Ubuntu VM, and tested
there, it behaves absolutely the same.

-----

Advises on getting an environment for solving the bug is appreciated.

1: https://www-304.ibm.com/webapp/set2/sas/f/pwrfs/pwr9/home.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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