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

ivmai / libatomic_ops / 289 / 35
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2018 08:12AM UTC
Files 10
Run time 0s
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

21 Feb 2018 07:58AM UTC coverage: 97.056%. Remained the same
CONF_OPTIONS="--enable-gcov --enable-shared" REPORT_COVERAGE=true CFLAGS_EXTRA="-march=native -D DEBUG_RUN_ONE_TEST -D VERBOSE"

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

Source Files on job 289.35 (CONF_OPTIONS="--enable-gcov --enable-shared" REPORT_COVERAGE=true CFLAGS_EXTRA="-march=native -D DEBUG_RUN_ONE_TEST -D VERBOSE")
  • Tree
  • List 0
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 289.35
  • 393d7a7f on github
  • Prev Job for CONF_OPTIONS="--enable-gcov --enable-shared" REPORT_COVERAGE=true CFLAGS_EXTRA="-march=native -D DEBUG_RUN_ONE_TEST -D VERBOSE" on master (#288.35)
  • Next Job for CONF_OPTIONS="--enable-gcov --enable-shared" REPORT_COVERAGE=true CFLAGS_EXTRA="-march=native -D DEBUG_RUN_ONE_TEST -D VERBOSE" on master (#295.35)
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