c11tester.git
5 years agochanges
root [Wed, 26 Jun 2019 20:04:45 +0000 (13:04 -0700)]
changes

5 years agochange exit we call so we don't call into client code
root [Fri, 21 Jun 2019 18:43:15 +0000 (11:43 -0700)]
change exit we call so we don't call into client code

5 years agofix CAS operation
bdemsky [Fri, 21 Jun 2019 18:34:49 +0000 (11:34 -0700)]
fix CAS operation

5 years agofix tabbing
bdemsky [Fri, 21 Jun 2019 15:38:27 +0000 (08:38 -0700)]
fix tabbing

5 years agoMerge branch 'new_fuzzer' of ssh://plrg.eecs.uci.edu:/home/git/random-fuzzer into...
bdemsky [Fri, 21 Jun 2019 15:37:40 +0000 (08:37 -0700)]
Merge branch 'new_fuzzer' of ssh://plrg.eecs.uci.edu:/home/git/random-fuzzer into new_fuzzer

5 years agoedits
bdemsky [Fri, 21 Jun 2019 15:37:29 +0000 (08:37 -0700)]
edits

5 years agoperformance improvements
Brian Demsky [Fri, 21 Jun 2019 05:31:45 +0000 (22:31 -0700)]
performance improvements

5 years agoMerge branch 'new_fuzzer' of /home/git/random-fuzzer into new_fuzzer
Brian Demsky [Fri, 21 Jun 2019 05:01:05 +0000 (22:01 -0700)]
Merge branch 'new_fuzzer' of /home/git/random-fuzzer into new_fuzzer

5 years agoprune mod order
root [Fri, 21 Jun 2019 05:00:03 +0000 (22:00 -0700)]
prune mod order

5 years agochanges
bdemsky [Fri, 21 Jun 2019 04:59:17 +0000 (21:59 -0700)]
changes

5 years agoOptimizations
Brian Demsky [Thu, 20 Jun 2019 20:29:33 +0000 (13:29 -0700)]
Optimizations

5 years agorun tabbing pass
Brian Demsky [Wed, 19 Jun 2019 21:13:40 +0000 (14:13 -0700)]
run tabbing pass

5 years agofixup merge a bit
Brian Demsky [Wed, 19 Jun 2019 21:12:38 +0000 (14:12 -0700)]
fixup merge a bit

5 years agoMerge branch 'branch-weiyu' into new_fuzzer
Brian Demsky [Wed, 19 Jun 2019 20:59:56 +0000 (13:59 -0700)]
Merge branch 'branch-weiyu' into new_fuzzer

5 years agomerge
root [Wed, 19 Jun 2019 20:52:43 +0000 (13:52 -0700)]
merge

5 years agoimplement usleep and sleep system calls as no operation which returns control to...
weiyu [Mon, 17 Jun 2019 20:08:01 +0000 (13:08 -0700)]
implement usleep and sleep system calls as no operation which returns control to model thread

5 years agorename pthead.h to mypthread.h
weiyu [Mon, 17 Jun 2019 17:09:33 +0000 (10:09 -0700)]
rename pthead.h to mypthread.h

5 years agoadd source line number as a parameter to ModelAction
weiyu [Fri, 14 Jun 2019 22:31:03 +0000 (15:31 -0700)]
add source line number as a parameter to ModelAction

5 years agoadd a missing line
weiyu [Fri, 14 Jun 2019 18:16:35 +0000 (11:16 -0700)]
add a missing line

5 years agoadd support for function calls 'atomic_init' and 'atomic_compare_exchange()'
weiyu [Fri, 14 Jun 2019 18:01:31 +0000 (11:01 -0700)]
add support for function calls 'atomic_init' and 'atomic_compare_exchange()'

5 years agorename mypthread.h to pthread.h
weiyu [Fri, 14 Jun 2019 17:56:48 +0000 (10:56 -0700)]
rename mypthread.h to pthread.h

5 years agoMerge branch 'new_fuzzer' of /home/git/random-fuzzer into branch-weiyu
weiyu [Fri, 14 Jun 2019 17:48:12 +0000 (10:48 -0700)]
Merge branch 'new_fuzzer' of /home/git/random-fuzzer into branch-weiyu

5 years agonew cyclegraph
bdemsky [Thu, 13 Jun 2019 02:40:25 +0000 (19:40 -0700)]
new cyclegraph

5 years agoMerge branch 'new_fuzzer' into tmp
bdemsky [Wed, 12 Jun 2019 22:41:49 +0000 (15:41 -0700)]
Merge branch 'new_fuzzer' into tmp

5 years agoDon't do complete checks until we choose store to read from
Brian Demsky [Wed, 12 Jun 2019 22:32:50 +0000 (18:32 -0400)]
Don't do complete checks until we choose store to read from

5 years agopartial edits
bdemsky [Wed, 12 Jun 2019 22:30:30 +0000 (15:30 -0700)]
partial edits

5 years agoRemove backedges from cyclegraph
bdemsky [Wed, 12 Jun 2019 20:38:39 +0000 (13:38 -0700)]
Remove backedges from cyclegraph

5 years agofix tabbing comment issue
bdemsky [Wed, 12 Jun 2019 20:25:50 +0000 (13:25 -0700)]
fix tabbing comment issue

5 years agouncrustify options
bdemsky [Wed, 12 Jun 2019 20:06:40 +0000 (13:06 -0700)]
uncrustify options

5 years agoreorder fields to save space
bdemsky [Wed, 12 Jun 2019 20:02:23 +0000 (13:02 -0700)]
reorder fields to save space

5 years agofix tabbing
bdemsky [Tue, 11 Jun 2019 04:39:38 +0000 (21:39 -0700)]
fix tabbing

5 years agofix tabbing
bdemsky [Tue, 11 Jun 2019 04:37:55 +0000 (21:37 -0700)]
fix tabbing

5 years agoremove extra cyclegraph calls
bdemsky [Tue, 11 Jun 2019 04:21:19 +0000 (21:21 -0700)]
remove extra cyclegraph calls

5 years agoFix RMW bug
bdemsky [Tue, 11 Jun 2019 03:43:00 +0000 (20:43 -0700)]
Fix RMW bug

5 years agoMerge branch 'branch-weiyu' of /home/git/random-fuzzer into branch-weiyu
weiyu [Mon, 10 Jun 2019 18:07:54 +0000 (11:07 -0700)]
Merge branch 'branch-weiyu' of /home/git/random-fuzzer into branch-weiyu

5 years agoadd subdirectory for tests
weiyu [Mon, 10 Jun 2019 18:06:47 +0000 (11:06 -0700)]
add subdirectory for tests

5 years agoadd uncrustify option
bdemsky [Thu, 6 Jun 2019 05:32:30 +0000 (22:32 -0700)]
add uncrustify option

5 years agorefactor choices into own class
bdemsky [Thu, 6 Jun 2019 05:28:53 +0000 (22:28 -0700)]
refactor choices into own class

5 years agomake some changes with hacks
bdemsky [Wed, 5 Jun 2019 06:01:15 +0000 (23:01 -0700)]
make some changes with hacks

5 years agoMore fuzzing changes
bdemsky [Tue, 4 Jun 2019 22:35:47 +0000 (15:35 -0700)]
More fuzzing changes

5 years agoremove another field
bdemsky [Tue, 4 Jun 2019 20:05:00 +0000 (13:05 -0700)]
remove another field

5 years agoRevert "delete plugins"
bdemsky [Tue, 4 Jun 2019 19:52:07 +0000 (12:52 -0700)]
Revert "delete plugins"

This reverts commit 6535eebefaea5a67d17fd074d2b446a51df7c6a4.

5 years agoRevert "remove plugins"
bdemsky [Tue, 4 Jun 2019 19:51:19 +0000 (12:51 -0700)]
Revert "remove plugins"

This reverts commit e92e6791f399195438d687925a7e6020047b4c60.

5 years agotowards fuzzing only
bdemsky [Tue, 4 Jun 2019 06:20:59 +0000 (23:20 -0700)]
towards fuzzing only

5 years agoremove old release sequences
bdemsky [Tue, 4 Jun 2019 04:53:31 +0000 (21:53 -0700)]
remove old release sequences

5 years agoRemove promises
bdemsky [Sat, 1 Jun 2019 06:19:23 +0000 (23:19 -0700)]
Remove promises

5 years agopartial conversion to fuzzer
Brian Demsky [Sat, 1 Jun 2019 05:21:31 +0000 (22:21 -0700)]
partial conversion to fuzzer

5 years agochange snapshot mode
weiyu [Wed, 29 May 2019 00:07:13 +0000 (17:07 -0700)]
change snapshot mode

5 years agoclean up
weiyu [Wed, 29 May 2019 00:02:31 +0000 (17:02 -0700)]
clean up

5 years agoadd futex.o as a recipe for libmodel
weiyu [Wed, 29 May 2019 00:00:31 +0000 (17:00 -0700)]
add futex.o as a recipe for libmodel

5 years agoimplement futex.cc
weiyu [Tue, 28 May 2019 23:56:49 +0000 (16:56 -0700)]
implement futex.cc

5 years agofix the case where no waiter is waiting
weiyu [Tue, 28 May 2019 23:50:58 +0000 (16:50 -0700)]
fix the case where no waiter is waiting

5 years agoadd NOOP to action type
weiyu [Tue, 28 May 2019 23:50:06 +0000 (16:50 -0700)]
add NOOP to action type

5 years agochange the namespace of mutex from std to cdsc
weiyu [Tue, 28 May 2019 23:48:28 +0000 (16:48 -0700)]
change the namespace of mutex from std to cdsc

5 years agoadd support for condition variable
weiyu [Fri, 1 Mar 2019 23:03:40 +0000 (15:03 -0800)]
add support for condition variable

5 years agoclean up unnecessary member functions
weiyu [Fri, 15 Feb 2019 01:50:20 +0000 (17:50 -0800)]
clean up unnecessary member functions

5 years agomove pthread_map and mutex_map inside of execution.h
weiyu [Fri, 15 Feb 2019 01:42:08 +0000 (17:42 -0800)]
move pthread_map and mutex_map inside of execution.h

5 years agopthread_join is able to return values
weiyu [Fri, 1 Feb 2019 20:35:42 +0000 (12:35 -0800)]
pthread_join is able to return values

5 years agoadd support for pthread_mutex
weiyu [Thu, 24 Jan 2019 21:31:35 +0000 (13:31 -0800)]
add support for pthread_mutex

5 years agopthread join seems to be working
weiyu [Tue, 22 Jan 2019 21:58:14 +0000 (13:58 -0800)]
pthread join seems to be working

5 years agopthread_create is working now
weiyu [Tue, 22 Jan 2019 19:22:57 +0000 (11:22 -0800)]
pthread_create is working now

5 years agoadd support for pthread_create (in progress)
weiyu [Fri, 18 Jan 2019 03:06:30 +0000 (19:06 -0800)]
add support for pthread_create (in progress)

5 years agoadd a new thread constructor for pthread
weiyu [Thu, 17 Jan 2019 21:17:01 +0000 (13:17 -0800)]
add a new thread constructor for pthread

5 years agotry to add support for pthread_create/pthread_join
weiyu [Wed, 16 Jan 2019 20:43:42 +0000 (12:43 -0800)]
try to add support for pthread_create/pthread_join

5 years agoremove two unnecessary files
weiyu [Tue, 8 Jan 2019 19:52:17 +0000 (11:52 -0800)]
remove two unnecessary files

5 years agochange cds checker to accomdate llvm pass
weiyu [Tue, 8 Jan 2019 19:50:41 +0000 (11:50 -0800)]
change cds checker to accomdate llvm pass

6 years agoimprove randomization
weiyu [Fri, 9 Nov 2018 00:08:24 +0000 (16:08 -0800)]
improve randomization

6 years agodelete plugins
weiyu [Fri, 26 Oct 2018 01:15:57 +0000 (18:15 -0700)]
delete plugins

6 years agoremove plugins
weiyu [Fri, 26 Oct 2018 01:15:10 +0000 (18:15 -0700)]
remove plugins

6 years agoRemove SC Analysis
bdemsky [Tue, 16 Oct 2018 21:51:59 +0000 (14:51 -0700)]
Remove SC Analysis

7 years agoFix snapshot code
bdemsky [Fri, 13 Oct 2017 05:29:13 +0000 (22:29 -0700)]
Fix snapshot code

7 years agoWork around changes in newer versions of glibc
bdemsky [Thu, 24 Nov 2016 20:40:03 +0000 (12:40 -0800)]
Work around changes in newer versions of glibc

8 years agobug in fence support fixed
bdemsky [Wed, 24 Feb 2016 00:07:39 +0000 (16:07 -0800)]
bug in fence support fixed

8 years agoIncrease size of bootstrap bytes as some Linux distributions need more space.
bdemsky [Thu, 17 Dec 2015 08:37:52 +0000 (00:37 -0800)]
Increase size of bootstrap bytes as some Linux distributions need more space.

9 years agoedits
Peizhao Ou [Wed, 9 Sep 2015 18:47:28 +0000 (11:47 -0700)]
edits

9 years agoAdd SCFence analysis
bdemsky [Tue, 4 Aug 2015 18:22:44 +0000 (11:22 -0700)]
Add SCFence analysis

9 years agobug fix for atomic adds/subtracts on pointers
bdemsky [Mon, 22 Jun 2015 18:47:36 +0000 (11:47 -0700)]
bug fix for atomic adds/subtracts on pointers

9 years agomove thread stack to thread allocator
bdemsky [Thu, 9 Apr 2015 06:03:47 +0000 (23:03 -0700)]
move thread stack to thread allocator

10 years agoSC Reads can read from things mo'd before the last sc write, they just can't happen...
bdemsky [Fri, 18 Jul 2014 21:59:59 +0000 (14:59 -0700)]
SC Reads can read from things mo'd before the last sc write, they just can't happen before it

10 years agoBug fixes from running Coverity
bdemsky [Tue, 6 May 2014 20:13:36 +0000 (16:13 -0400)]
Bug fixes from running Coverity

10 years agofix signed/unsigned warning
bdemsky [Tue, 6 May 2014 17:25:57 +0000 (13:25 -0400)]
fix signed/unsigned warning

10 years agobug fix with missing coherence condition for promises
bdemsky [Wed, 16 Apr 2014 22:01:00 +0000 (15:01 -0700)]
bug fix with missing coherence condition for promises

10 years agoBug fix for broken treatment of promises + coherence based pruning to regain pruning...
bdemsky [Sat, 25 Jan 2014 22:11:22 +0000 (14:11 -0800)]
Bug fix for broken treatment of promises + coherence based pruning to regain pruning lost by bug fix

10 years agoSupport for -x option
bdemsky [Sat, 25 Jan 2014 22:07:08 +0000 (14:07 -0800)]
Support for -x option

10 years agoAnnotation Support
bdemsky [Sat, 25 Jan 2014 22:04:13 +0000 (14:04 -0800)]
Annotation Support

11 years agoMerge remote-tracking branch 'origin/master'
Brian Norris [Wed, 4 Sep 2013 02:19:25 +0000 (19:19 -0700)]
Merge remote-tracking branch 'origin/master'

11 years agorun.sh: support running from a different directory
Brian Norris [Wed, 4 Sep 2013 02:03:44 +0000 (19:03 -0700)]
run.sh: support running from a different directory

11 years agoREADME.md: use HTML URL, not PHP
Brian Norris [Thu, 15 Aug 2013 19:04:59 +0000 (12:04 -0700)]
README.md: use HTML URL, not PHP

11 years agoREADME.md: move copyright down
Brian Norris [Wed, 14 Aug 2013 17:02:36 +0000 (10:02 -0700)]
README.md: move copyright down

11 years agoREADME.md: add detail for benchmarks
Brian Norris [Wed, 14 Aug 2013 17:01:08 +0000 (10:01 -0700)]
README.md: add detail for benchmarks

11 years agoREADME.md: improve wording
Brian Norris [Wed, 14 Aug 2013 16:59:03 +0000 (09:59 -0700)]
README.md: improve wording

11 years agoREADME.md: add more fairness notes
Brian Norris [Wed, 14 Aug 2013 06:29:20 +0000 (23:29 -0700)]
README.md: add more fairness notes

11 years agoMakefile: add README.pdf target
Brian Norris [Wed, 14 Aug 2013 06:24:13 +0000 (23:24 -0700)]
Makefile: add README.pdf target

Using pandoc:

  http://johnmacfarlane.net/pandoc/

11 years agoREADME.md: remove <pre></pre> tags
Brian Norris [Wed, 14 Aug 2013 05:38:39 +0000 (22:38 -0700)]
README.md: remove <pre></pre> tags

It's better to just use pure Markdown.

11 years agothreads: kill clang warnings about struct/class Thread
Brian Norris [Wed, 14 Aug 2013 05:16:20 +0000 (22:16 -0700)]
threads: kill clang warnings about struct/class Thread

We just need an opaque pointer for C, so we can retain the type safety
for C++ by conditionally compiling a '__thread_identifier' type as
'class Thread' for C++.

The warning:

  clang++ -MMD -MF .threads.o.d -fPIC -c threads.cc -Wall -g -O3 -Iinclude -I.
  In file included from schedule.cc:4:
  ./threads-model.h:41:1: warning: 'Thread' defined as a class here but previously declared as a struct [-Wmismatched-tags]
  class Thread {
  ^
  include/threads.h:9:1: note: did you mean class here?
  struct Thread; /* actually, class; but this is safe */
  ^~~~~~
  class

11 years agomalloc: modify compiler warning workarounds
Brian Norris [Wed, 14 Aug 2013 05:05:23 +0000 (22:05 -0700)]
malloc: modify compiler warning workarounds

clang will complain when (in a function like this) we try to silence
"unused" warnings with a self-assignment. It's equivalently useless to
just cast to (void), and I think it will still silence the warning it
was originally trying to silence.

11 years agoimpatomic: silence more clang warnings
Brian Norris [Wed, 14 Aug 2013 04:51:56 +0000 (21:51 -0700)]
impatomic: silence more clang warnings

These 'return' values produce unused value warnings when the value
returned by _ATOMIC_STORE_, _ATOMIC_INIT_, and _ATOMIC_MODIFY_ aren't
used. Silence these warnings (but leave the ones for _ATOMIC_LOAD_)
because we expect that the result of RMW's or stores may rightly be
discarded in many cases.

11 years agotest: silence some unused-value warnings
Brian Norris [Wed, 14 Aug 2013 04:49:55 +0000 (21:49 -0700)]
test: silence some unused-value warnings

clang gives some warnings for unused values, like the following:

  clang -MMD -MF ./.rmw2prog.o.d -o rmw2prog.o rmw2prog.c -Wall -g -O3 -I.. -I../include -L.. -lmodel
  nestedpromise.c:14:2: warning: expression result unused [-Wunused-value]
          atomic_load_explicit(&z, memory_order_relaxed); // this is only for schedule control
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../include/impatomic.h:2901:46: note: expanded from:
  #define atomic_load_explicit( __a__, __x__ ) \
                                               ^
  ../include/impatomic.h:85:17: note: expanded from:
                  __r__; })
                  ^~~~~
  1 warning generated.

11 years agoREADME.md: have to include our headers
Brian Norris [Wed, 14 Aug 2013 04:16:34 +0000 (21:16 -0700)]
README.md: have to include our headers

11 years agoREADME.md: reverse store/load
Brian Norris [Wed, 14 Aug 2013 04:13:14 +0000 (21:13 -0700)]
README.md: reverse store/load