• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ivmai / libatomic_ops / 289
96%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2018 08:12AM UTC
Jobs 1
Files 10
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
289

push

travis-ci

ivmai
Enable CAS for byte and short on RISC-V

Issue #31 (libatomic_ops).

At least for gcc-7.2.0 does not define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 macros but, nonetheless, all the
provided CAS operations are lock-free (except for double-word).

* src/Makefile.am (nobase_private_HEADERS): Add gcc/riscv.h entry.
* src/atomic_ops.h [__GNUC__ && !AO_USE_PTHREAD_DEFS
&& !__INTEL_COMPILER && __riscv]: Include gcc/riscv.h file.
* src/atomic_ops/sysdeps/gcc/riscv.h: New file (include generic.h).
* src/atomic_ops/sysdeps/gcc/riscv.h (AO_GCC_FORCE_HAVE_CAS): Define
before include generic.h (and undefined at the end of file); add
comment about double-word operations.

1055 of 1087 relevant lines covered (97.06%)

1562506.75 hits per line

Jobs
ID Job ID Ran Files Coverage
35 289.35 (CONF_OPTIONS="--enable-gcov --enable-shared" REPORT_COVERAGE=true CFLAGS_EXTRA="-march=native -D DEBUG_RUN_ONE_TEST -D VERBOSE") 21 Feb 2018 08:12AM UTC 0
97.06
Travis Job 289.35
Source Files on build 289
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #289
  • 393d7a7f on github
  • Prev Build on master (#288)
  • Next Build on master (#295)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc