a12fa86e60Add the BVType; Add suport for bitvectors in TypeVar and TypeSet.
Dimo
2017-07-20 17:20:23 -07:00
bd2e9e5d0bAdd the BVType; Add suport for bitvectors in TypeVar and TypeSet.
Dimo
2017-07-20 17:20:23 -07:00
605886a277Rename Dict[Var, TypeVar] to VarTyping; Add VarMap (Dict[Var,Var]). Add {Ast, Def, Rtl}.{vars(), substitution()} and Def.uses(), Def.definitions() - these enable checking structural equivalence between Rtls and doing variable substitutions between compatible Rtls; Add TypeEnv.permits() routine - allows checking if a given TypeEnv allows a given concrete typing without enumerating all typings (will be useful for determing which semantic transform applies to a given concrete typing).
Dimo
2017-07-20 16:32:07 -07:00
15a7d50765Rename Dict[Var, TypeVar] to VarTyping; Add VarMap (Dict[Var,Var]). Add {Ast, Def, Rtl}.{vars(), substitution()} and Def.uses(), Def.definitions() - these enable checking structural equivalence between Rtls and doing variable substitutions between compatible Rtls; Add TypeEnv.permits() routine - allows checking if a given TypeEnv allows a given concrete typing without enumerating all typings (will be useful for determing which semantic transform applies to a given concrete typing).
Dimo
2017-07-20 16:32:07 -07:00
716cd26fbfMake legalization actions configurable.
Jakob Stoklund Olesen
2017-07-24 11:21:12 -07:00
127b22af5fMake legalization actions configurable.
Jakob Stoklund Olesen
2017-07-24 11:21:12 -07:00
db28e733ectest-all.sh should print the versions for both python2 and python3 its using
Dimo
2017-07-24 11:56:00 -07:00
a06964fc0etest-all.sh should print the versions for both python2 and python3 its using
Dimo
2017-07-24 11:56:00 -07:00
f651ec4f78Add a PredicateView type to abstract the predicate bit vector a bit.
Jakob Stoklund Olesen
2017-07-21 13:48:18 -07:00
f583511fb6Add a PredicateView type to abstract the predicate bit vector a bit.
Jakob Stoklund Olesen
2017-07-21 13:48:18 -07:00
4142a9ca9cReturn a Result from constant_hash::probe.
Jakob Stoklund Olesen
2017-07-21 21:10:32 -07:00
df1bf7d578Return a Result from constant_hash::probe.
Jakob Stoklund Olesen
2017-07-21 21:10:32 -07:00
35cbe68a70Intel encodings for floating point bitwise ops.
Jakob Stoklund Olesen
2017-07-20 11:45:06 -07:00
2b41f979cbIntel encodings for floating point bitwise ops.
Jakob Stoklund Olesen
2017-07-20 11:45:06 -07:00
a42eaa77b4Add bitwise ops that invert the second operand.
Jakob Stoklund Olesen
2017-07-20 11:14:11 -07:00
6ba604125dAdd bitwise ops that invert the second operand.
Jakob Stoklund Olesen
2017-07-20 11:14:11 -07:00
43e190ad20Intel encodings for fadd, fsub, fmul, fdiv.
Jakob Stoklund Olesen
2017-07-20 10:08:09 -07:00
014d9a14feIntel encodings for fadd, fsub, fmul, fdiv.
Jakob Stoklund Olesen
2017-07-20 10:08:09 -07:00
e3f6755264Add some signed int to float conversions.
Jakob Stoklund Olesen
2017-07-19 14:44:01 -07:00
4df6741a90Add some signed int to float conversions.
Jakob Stoklund Olesen
2017-07-19 14:44:01 -07:00
87c5f27ff7Intel encodings for trap.
Jakob Stoklund Olesen
2017-07-19 15:01:32 -07:00
e8acad5070Intel encodings for trap.
Jakob Stoklund Olesen
2017-07-19 15:01:32 -07:00
b59b348a1eAdd Intel encodings for sextend and uextend.
Jakob Stoklund Olesen
2017-07-19 13:40:11 -07:00
b804bc8fbcAdd Intel encodings for sextend and uextend.
Jakob Stoklund Olesen
2017-07-19 13:40:11 -07:00
9f105145afAdd a null encoding for ireduce.i32.i64.
Jakob Stoklund Olesen
2017-07-19 13:11:11 -07:00
444f955466Add a null encoding for ireduce.i32.i64.
Jakob Stoklund Olesen
2017-07-19 13:11:11 -07:00
f03f1e1898Add tests for WebAssembly i64 operators.
Jakob Stoklund Olesen
2017-07-19 12:56:54 -07:00
13190fd512Add tests for WebAssembly i64 operators.
Jakob Stoklund Olesen
2017-07-19 12:56:54 -07:00
cfcbf44764Add tests for WebAssembly i32 comparisons.
Jakob Stoklund Olesen
2017-07-19 12:36:36 -07:00
bd55bd74ccAdd tests for WebAssembly i32 comparisons.
Jakob Stoklund Olesen
2017-07-19 12:36:36 -07:00
1a662575a5Add Intel encodings for the bint instructions.
Jakob Stoklund Olesen
2017-07-19 12:01:28 -07:00
265bd351bdAdd Intel encodings for the bint instructions.
Jakob Stoklund Olesen
2017-07-19 12:01:28 -07:00
421a88123dAdd Intel encodings for the icmp instruction.
Jakob Stoklund Olesen
2017-07-19 10:47:51 -07:00
82fbc78f2fAdd Intel encodings for the icmp instruction.
Jakob Stoklund Olesen
2017-07-19 10:47:51 -07:00
c9bbc1e86eDon't require that the fallthrough instruction has an encoding.
Jakob Stoklund Olesen
2017-07-19 09:30:04 -07:00
5a81831c69Don't require that the fallthrough instruction has an encoding.
Jakob Stoklund Olesen
2017-07-19 09:30:04 -07:00
efdbf0d735Add Intel encodings for jump and branch instructions.
Jakob Stoklund Olesen
2017-07-18 14:54:34 -07:00
0a7087732eAdd Intel encodings for jump and branch instructions.
Jakob Stoklund Olesen
2017-07-18 14:54:34 -07:00
53d9232d39Track regmove instruction during binemit.
Jakob Stoklund Olesen
2017-07-18 12:52:53 -07:00
2927878707Track regmove instruction during binemit.
Jakob Stoklund Olesen
2017-07-18 12:52:53 -07:00
c4db4c124bBegin an Intel-specific instruction group.
Jakob Stoklund Olesen
2017-07-18 10:09:02 -07:00
306ef2095bBegin an Intel-specific instruction group.
Jakob Stoklund Olesen
2017-07-18 10:09:02 -07:00
cf876e492aAdd Intel encodings for imul.
Jakob Stoklund Olesen
2017-07-18 09:22:50 -07:00
02fd83cd5cAdd Intel encodings for imul.
Jakob Stoklund Olesen
2017-07-18 09:22:50 -07:00
2f7057b96fAdd a Context::emit_to_memory function.
Jakob Stoklund Olesen
2017-07-17 18:13:05 -07:00
28457f82c3Add a Context::emit_to_memory function.
Jakob Stoklund Olesen
2017-07-17 18:13:05 -07:00
9dc92eb8b3Add Intel BMI1 ctz and clz encodings.
Jakob Stoklund Olesen
2017-07-12 16:28:33 -07:00
e3ff551c2bAdd Intel BMI1 ctz and clz encodings.
Jakob Stoklund Olesen
2017-07-12 16:28:33 -07:00
f91d747bdaAdd support for setting presets.
Jakob Stoklund Olesen
2017-07-13 14:49:17 -07:00
4bb0e2014cAdd support for setting presets.
Jakob Stoklund Olesen
2017-07-13 14:49:17 -07:00
130b7fa2faAdd documentation for immediates with type bool.
Dan Gohman
2017-07-13 16:23:41 -07:00
89634fa645Add documentation for immediates with type bool.
Dan Gohman
2017-07-13 16:23:41 -07:00
6d6035b918CSSA verifier.
Jakob Stoklund Olesen
2017-07-13 13:18:18 -07:00
52dae7c2e2CSSA verifier.
Jakob Stoklund Olesen
2017-07-13 13:18:18 -07:00
5a4aa11274Add a bconst instruction. (#116)
Dan Gohman
2017-07-13 10:12:25 -07:00
3bcfb103b9Add a bconst instruction. (#116)
Dan Gohman
2017-07-13 10:12:25 -07:00
5cbcd59cf0Add some ISA predicates for Intel CPUID features.
Jakob Stoklund Olesen
2017-07-12 16:05:20 -07:00
d8e2cb2b42Add some ISA predicates for Intel CPUID features.
Jakob Stoklund Olesen
2017-07-12 16:05:20 -07:00
435a15b88dAdd Intel encodings for popcnt.
Jakob Stoklund Olesen
2017-07-12 14:14:08 -07:00
b6f2f0d862Add Intel encodings for popcnt.
Jakob Stoklund Olesen
2017-07-12 14:14:08 -07:00
f57c666d8aAdd Intel encodings for shift and rotate instructions.
Jakob Stoklund Olesen
2017-07-12 12:53:41 -07:00
5615e4a9e7Add Intel encodings for shift and rotate instructions.
Jakob Stoklund Olesen
2017-07-12 12:53:41 -07:00
1f52415b17Add a WebAssembly filetests directory.
Jakob Stoklund Olesen
2017-07-11 17:42:21 -07:00
3d738d01bbAdd a WebAssembly filetests directory.
Jakob Stoklund Olesen
2017-07-11 17:42:21 -07:00
9e3b6a6ebaAdd a Context::compile() function which runs all compiler passes.
Jakob Stoklund Olesen
2017-07-11 16:26:16 -07:00
6cc729a69bAdd a Context::compile() function which runs all compiler passes.
Jakob Stoklund Olesen
2017-07-11 16:26:16 -07:00
ae5e440094Fix Vim syntax highlighting of numbers.
Jakob Stoklund Olesen
2017-07-12 11:17:59 -07:00
07a96e609eFix Vim syntax highlighting of numbers.
Jakob Stoklund Olesen
2017-07-12 11:17:59 -07:00
d56d4d171eTag the regmove instruction with other_side_effects.
Jakob Stoklund Olesen
2017-07-12 09:49:02 -07:00
6e0834eea9Tag the regmove instruction with other_side_effects.
Jakob Stoklund Olesen
2017-07-12 09:49:02 -07:00
0917cfe7f4Attach encodings to regmove instructions generated during coloring.
Jakob Stoklund Olesen
2017-07-12 10:37:50 -07:00
abc1743486Attach encodings to regmove instructions generated during coloring.
Jakob Stoklund Olesen
2017-07-12 10:37:50 -07:00
ca99bd1641Add RISC-V regmove encodings.
Jakob Stoklund Olesen
2017-07-12 10:43:13 -07:00
2ee37784ffAdd RISC-V regmove encodings.
Jakob Stoklund Olesen
2017-07-12 10:43:13 -07:00
ad76f80127Add Intel regmove encodings.
Jakob Stoklund Olesen
2017-07-12 10:22:43 -07:00
edffd848bfAdd Intel regmove encodings.
Jakob Stoklund Olesen
2017-07-12 10:22:43 -07:00
69f974ba5dAdd an ISA argument to dfg.display_inst().
Jakob Stoklund Olesen
2017-07-12 10:12:20 -07:00
b6d4b884adAdd an ISA argument to dfg.display_inst().
Jakob Stoklund Olesen
2017-07-12 10:12:20 -07:00
e4da2e1f22Include ISA-specific information in verifier errors.
Jakob Stoklund Olesen
2017-07-12 09:59:00 -07:00
71af555e6fInclude ISA-specific information in verifier errors.
Jakob Stoklund Olesen
2017-07-12 09:59:00 -07:00
924c4649ccEnforce encodings for instructions with side effects.
Jakob Stoklund Olesen
2017-07-12 09:29:48 -07:00
24b53efc9dEnforce encodings for instructions with side effects.
Jakob Stoklund Olesen
2017-07-12 09:29:48 -07:00
fc94ce7e8cAdd an other_side_effects instruction flag.
Jakob Stoklund Olesen
2017-07-12 09:15:40 -07:00
6ee432329dAdd an other_side_effects instruction flag.
Jakob Stoklund Olesen
2017-07-12 09:15:40 -07:00