aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/compile_SUITE_data
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-05-04 06:49:15 +0200
committerBjörn Gustavsson <[email protected]>2017-05-10 10:37:11 +0200
commit0abc7970e064456e49a2e651c1b03d038f3e98df (patch)
tree5b59c48ed17bba766742a1a97a5685855318fdcf /lib/compiler/test/compile_SUITE_data
parent8f84553cb56a6cbe0ae6785dba18c81ed6e47641 (diff)
downloadotp-0abc7970e064456e49a2e651c1b03d038f3e98df.tar.gz
otp-0abc7970e064456e49a2e651c1b03d038f3e98df.tar.bz2
otp-0abc7970e064456e49a2e651c1b03d038f3e98df.zip
compile_SUITE: Test the r16, r17, r18, r19 options
Also test other options that turns off certain optimizations or instruction sets.
Diffstat (limited to 'lib/compiler/test/compile_SUITE_data')
-rw-r--r--lib/compiler/test/compile_SUITE_data/small_float.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/compiler/test/compile_SUITE_data/small_float.erl b/lib/compiler/test/compile_SUITE_data/small_float.erl
new file mode 100644
index 0000000000..5cbb5aef83
--- /dev/null
+++ b/lib/compiler/test/compile_SUITE_data/small_float.erl
@@ -0,0 +1,5 @@
+-module(small_float).
+-export([f/1]).
+
+f(F) when is_float(F) ->
+ F / 2.