Skip to content

Commit

Permalink
Merge branch 'release-1.7.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
zvonimir committed Jan 8, 2017
2 parents 435044d + 2f2d6a2 commit 01aaa6e
Show file tree
Hide file tree
Showing 17 changed files with 469 additions and 144 deletions.
17 changes: 11 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Contribution Guidelines
## Contribution Guidelines


The information provided here is a must read for anyone who would like to
contribute to SMACK. Hence, please make sure to study thoroughly the following
items before you start contributing:

* We adhere to the [Open Code of Conduct](http://todogroup.org/opencodeofconduct/#SMACK/[email protected]). By participating, you are expected to honor this code.
* We use this [git branching model](http://nvie.com/posts/a-successful-git-branching-model/). Please avoid working directly on the `master` branch.
* We follow guidelines for [good git commit practice](https://wiki.openstack.org/wiki/GitCommitMessages)
* We follow the [LLVM Coding Standards](http://llvm.org/docs/CodingStandards.html)
* We adhere to the [Contributor Covenant Code of Conduct](docs/code-of-conduct.md).
By participating, you are expected to honor this code.
* We use this [git branching
model](http://nvie.com/posts/a-successful-git-branching-model/). Please avoid
working directly on the `master` branch.
* We follow guidelines for [good git commit
practice](https://wiki.openstack.org/wiki/GitCommitMessages)
* We follow the [LLVM Coding
Standards](http://llvm.org/docs/CodingStandards.html)

2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = smack
PROJECT_NUMBER = 1.7.1
PROJECT_NUMBER = 1.7.2
PROJECT_BRIEF = "A bounded software verifier."
PROJECT_LOGO =
OUTPUT_DIRECTORY = docs
Expand Down
7 changes: 4 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
The MIT License

Copyright (c) 2008-2016 Zvonimir Rakamaric ([email protected]),
Copyright (c) 2008-2017 Zvonimir Rakamaric ([email protected]),
Michael Emmi ([email protected])
Modified work Copyright (c) 2013-2016 Pantazis Deligiannis,
Montgomery Carter,
Modified work Copyright (c) 2013-2017 Montgomery Carter,
Pantazis Deligiannis,
Dietrich Geisler,
Arvind Haran,
Shaobo He,
Jiten Thakkar,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ SMACK.
1. [Demos](docs/demos.md)
1. [FAQ](docs/faq.md)
1. [Inline Boogie Code](docs/boogie-code.md)
1. [Contribution Guidelines](docs/contributions.md)
1. [Contribution Guidelines](CONTRIBUTING.md)
1. [Projects](docs/projects.md)
1. [Publications](docs/publications.md)
1. [People](docs/people.md)
Expand Down
2 changes: 1 addition & 1 deletion bin/package-smack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Note: this script requires CDE to be downloaded from
# http://www.pgbovine.net/cde.html

VERSION=1.7.1
VERSION=1.7.2
PACKAGE=smack-$VERSION-64

# Create folder to export
Expand Down
16 changes: 0 additions & 16 deletions docs/contributions.md

This file was deleted.

13 changes: 7 additions & 6 deletions docs/people.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
### Coordinators

* [Michael Emmi](http://michael-emmi.github.io)
* [Zvonimir Rakamaric](http://www.zvonimir.info/) ([SOAR Lab](http://soarlab.org/), University of Utah)
* [Zvonimir Rakamaric](http://www.zvonimir.info) ([SOAR Lab](http://soarlab.org), University of Utah)


### Contributors

* [Montgomery Carter](http://www.linkedin.com/pub/montgomery-carter/12/a89/512) ([SOAR Lab](http://soarlab.org/), University of Utah)
* [Pantazis Deligiannis](http://pdeligia.github.io/) (Microsoft Research)
* [Arvind Haran](http://www.cs.utah.edu/~haran) ([SOAR Lab](http://soarlab.org/), University of Utah)
* [Shaobo He](http://www.cs.utah.edu/~shaobo) ([SOAR Lab](http://soarlab.org/), University of Utah)
* [Jiten Thakkar](http://jiten-thakkar.com) ([SOAR Lab](http://soarlab.org/), University of Utah)
* [Montgomery Carter](http://www.linkedin.com/pub/montgomery-carter/12/a89/512) ([SOAR Lab](http://soarlab.org), University of Utah)
* [Pantazis Deligiannis](http://pdeligia.github.io) (Microsoft Research)
* [Dietrich Geisler](https://github.com/Checkmate50) ([SOAR Lab](http://soarlab.org), University of Utah)
* [Arvind Haran](http://www.cs.utah.edu/~haran) ([SOAR Lab](http://soarlab.org), University of Utah)
* [Shaobo He](http://www.cs.utah.edu/~shaobo) ([SOAR Lab](http://soarlab.org), University of Utah)
* [Jiten Thakkar](http://jiten-thakkar.com) ([SOAR Lab](http://soarlab.org), University of Utah)
* [Jonathan Whitaker](https://www.linkedin.com/in/jonathan-whitaker-5a8b2484) ([SOAR Lab](http://soarlab.org/), University of Utah)

1 change: 1 addition & 0 deletions include/smack/Naming.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Naming {
static const std::string UNINTERPRETED_FLOAT_TYPE;
static const std::string FLOAT_TYPE;
static const std::string DOUBLE_TYPE;
static const std::string LONG_DOUBLE_TYPE;
static const std::string PTR_TYPE;
static const std::string NULL_VAL;

Expand Down
1 change: 1 addition & 0 deletions lib/smack/Naming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const std::string Naming::BOOL_TYPE = "bool";
const std::string Naming::UNINTERPRETED_FLOAT_TYPE = "float";
const std::string Naming::FLOAT_TYPE = "bvfloat";
const std::string Naming::DOUBLE_TYPE = "bvdouble";
const std::string Naming::LONG_DOUBLE_TYPE = "bvlongdouble";
const std::string Naming::PTR_TYPE = "ref";
const std::string Naming::NULL_VAL = "$0.ref";

Expand Down
3 changes: 3 additions & 0 deletions lib/smack/SmackRep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ std::string SmackRep::type(const llvm::Type* t) {
return Naming::FLOAT_TYPE;
else if (t->isDoubleTy())
return Naming::DOUBLE_TYPE;
else if (t->isX86_FP80Ty())
return Naming::LONG_DOUBLE_TYPE;
else
llvm_unreachable("Unsupported floating-point type.");
}
Expand Down Expand Up @@ -950,6 +952,7 @@ std::string SmackRep::getPrelude() {
if (SmackOptions::FloatEnabled) {
s << Decl::typee(Naming::FLOAT_TYPE, "float24e8") << "\n";
s << Decl::typee(Naming::DOUBLE_TYPE, "float53e11") << "\n";
s << Decl::typee(Naming::LONG_DOUBLE_TYPE, "float65e15") << "\n";
}
s << Decl::typee(Naming::UNINTERPRETED_FLOAT_TYPE, intType(32)) << "\n";
s << "\n";
Expand Down
14 changes: 14 additions & 0 deletions share/smack/include/smack.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,20 @@ int signbit(double x);
int __fpclassify(double x);
int fpclassify(double x);
int __finite(double x);

//long doubles
/*int __isnormall(long double x);
int __isSubnormall(long double x);
int __iszerol(long double x);
int __isinfl(long double x);
int __isnanl(long double x);
int __isnegativel(long double x);
int __ispositivel(long double x);
int __signbitl(long double x);
int signbitl(long double x);
int __fpclassifyl(long double x);
int fpclassifyl(long double x);
int __finitel(long double x);*/
#endif

#undef S1
Expand Down
Loading

0 comments on commit 01aaa6e

Please sign in to comment.