Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

c++ function names #18

@pa-m

Description

@pa-m

Hi,
I tried c2goasm on ubuntu18.04 with go 1.11 and encountered 2 little issues:

IMHO assemble.sh should contain clang and not c++.
using c++ (set for me to clang++ via update-alternatives) produces one underscore in front of function identifiers instead of two as expected by c2goasm.

Here's my clang++ version
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

The 2nd pb is in the MultiplyAandAdd example
MultiplyAndAdd didn't work until I replaced _mm256_load_ps with _mm256_loadu_ps, probably because args are not 32-byte aligned.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions