summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Unit/absvdi2_test.c4
-rw-r--r--test/Unit/absvsi2_test.c4
-rw-r--r--test/Unit/absvti2_test.c4
-rw-r--r--test/Unit/adddf3vfp_test.c4
-rw-r--r--test/Unit/addsf3vfp_test.c4
-rw-r--r--test/Unit/addvdi3_test.c4
-rw-r--r--test/Unit/addvsi3_test.c4
-rw-r--r--test/Unit/addvti3_test.c4
-rw-r--r--test/Unit/ashldi3_test.c4
-rw-r--r--test/Unit/ashlti3_test.c4
-rw-r--r--test/Unit/ashrdi3_test.c4
-rw-r--r--test/Unit/ashrti3_test.c4
-rw-r--r--test/Unit/bswapdi2_test.c4
-rw-r--r--test/Unit/bswapsi2_test.c4
-rw-r--r--test/Unit/clear_cache_test.c4
-rw-r--r--test/Unit/clzdi2_test.c4
-rw-r--r--test/Unit/clzsi2_test.c4
-rw-r--r--test/Unit/clzti2_test.c4
-rw-r--r--test/Unit/cmpdi2_test.c4
-rw-r--r--test/Unit/cmpti2_test.c4
-rw-r--r--test/Unit/comparedf2_test.c4
-rw-r--r--test/Unit/comparesf2_test.c4
-rw-r--r--test/Unit/ctzdi2_test.c4
-rw-r--r--test/Unit/ctzsi2_test.c4
-rw-r--r--test/Unit/ctzti2_test.c4
-rw-r--r--test/Unit/divdc3_test.c4
-rw-r--r--test/Unit/divdf3vfp_test.c4
-rw-r--r--test/Unit/divdi3_test.c4
-rw-r--r--test/Unit/divmodsi4_test.c73
-rw-r--r--test/Unit/divsc3_test.c4
-rw-r--r--test/Unit/divsf3vfp_test.c4
-rw-r--r--test/Unit/divsi3_test.c4
-rw-r--r--test/Unit/divtc3_test.c4
-rw-r--r--test/Unit/divti3_test.c4
-rw-r--r--test/Unit/divxc3_test.c4
-rw-r--r--test/Unit/enable_execute_stack_test.c4
-rw-r--r--test/Unit/endianness.h4
-rw-r--r--test/Unit/eqdf2vfp_test.c4
-rw-r--r--test/Unit/eqsf2vfp_test.c4
-rw-r--r--test/Unit/extebdsfdf2vfp_test.c4
-rw-r--r--test/Unit/ffsdi2_test.c4
-rw-r--r--test/Unit/ffsti2_test.c4
-rw-r--r--test/Unit/fixdfdi_test.c4
-rw-r--r--test/Unit/fixdfsivfp_test.c4
-rw-r--r--test/Unit/fixdfti_test.c4
-rw-r--r--test/Unit/fixsfdi_test.c4
-rw-r--r--test/Unit/fixsfsivfp_test.c4
-rw-r--r--test/Unit/fixsfti_test.c4
-rw-r--r--test/Unit/fixunsdfdi_test.c4
-rw-r--r--test/Unit/fixunsdfsi_test.c4
-rw-r--r--test/Unit/fixunsdfsivfp_test.c4
-rw-r--r--test/Unit/fixunsdfti_test.c4
-rw-r--r--test/Unit/fixunssfdi_test.c4
-rw-r--r--test/Unit/fixunssfsi_test.c4
-rw-r--r--test/Unit/fixunssfsivfp_test.c4
-rw-r--r--test/Unit/fixunssfti_test.c4
-rw-r--r--test/Unit/fixunstfdi_test.c4
-rw-r--r--test/Unit/fixunsxfdi_test.c4
-rw-r--r--test/Unit/fixunsxfsi_test.c4
-rw-r--r--test/Unit/fixunsxfti_test.c4
-rw-r--r--test/Unit/fixxfdi_test.c4
-rw-r--r--test/Unit/fixxfti_test.c4
-rw-r--r--test/Unit/floatdidf_test.c4
-rw-r--r--test/Unit/floatdisf_test.c4
-rw-r--r--test/Unit/floatdixf_test.c4
-rw-r--r--test/Unit/floatsidfvfp_test.c4
-rw-r--r--test/Unit/floatsisfvfp_test.c4
-rw-r--r--test/Unit/floattidf_test.c4
-rw-r--r--test/Unit/floattisf_test.c4
-rw-r--r--test/Unit/floattixf_test.c4
-rw-r--r--test/Unit/floatundidf_test.c4
-rw-r--r--test/Unit/floatundisf_test.c4
-rw-r--r--test/Unit/floatundixf_test.c4
-rw-r--r--test/Unit/floatunssidfvfp_test.c4
-rw-r--r--test/Unit/floatunssisfvfp_test.c4
-rw-r--r--test/Unit/floatuntidf_test.c4
-rw-r--r--test/Unit/floatuntisf_test.c4
-rw-r--r--test/Unit/floatuntixf_test.c4
-rw-r--r--test/Unit/gcc_personality_test.c4
-rw-r--r--test/Unit/gcc_personality_test_helper.cxx4
-rw-r--r--test/Unit/gedf2vfp_test.c4
-rw-r--r--test/Unit/gesf2vfp_test.c4
-rw-r--r--test/Unit/gtdf2vfp_test.c4
-rw-r--r--test/Unit/gtsf2vfp_test.c4
-rw-r--r--test/Unit/ledf2vfp_test.c4
-rw-r--r--test/Unit/lesf2vfp_test.c4
-rw-r--r--test/Unit/lshrdi3_test.c4
-rw-r--r--test/Unit/lshrti3_test.c4
-rw-r--r--test/Unit/ltdf2vfp_test.c4
-rw-r--r--test/Unit/ltsf2vfp_test.c4
-rw-r--r--test/Unit/moddi3_test.c4
-rw-r--r--test/Unit/modsi3_test.c4
-rw-r--r--test/Unit/modti3_test.c4
-rw-r--r--test/Unit/muldc3_test.c4
-rw-r--r--test/Unit/muldf3vfp_test.c4
-rw-r--r--test/Unit/muldi3_test.c4
-rw-r--r--test/Unit/mulsc3_test.c4
-rw-r--r--test/Unit/mulsf3vfp_test.c4
-rw-r--r--test/Unit/multc3_test.c4
-rw-r--r--test/Unit/multi3_test.c4
-rw-r--r--test/Unit/mulvdi3_test.c4
-rw-r--r--test/Unit/mulvsi3_test.c4
-rw-r--r--test/Unit/mulvti3_test.c4
-rw-r--r--test/Unit/mulxc3_test.c4
-rw-r--r--test/Unit/nedf2vfp_test.c4
-rw-r--r--test/Unit/negdf2vfp_test.c4
-rw-r--r--test/Unit/negdi2_test.c4
-rw-r--r--test/Unit/negsf2vfp_test.c4
-rw-r--r--test/Unit/negti2_test.c4
-rw-r--r--test/Unit/negvdi2_test.c4
-rw-r--r--test/Unit/negvsi2_test.c4
-rw-r--r--test/Unit/negvti2_test.c4
-rw-r--r--test/Unit/nesf2vfp_test.c4
-rw-r--r--test/Unit/paritydi2_test.c4
-rw-r--r--test/Unit/paritysi2_test.c4
-rw-r--r--test/Unit/parityti2_test.c4
-rw-r--r--test/Unit/popcountdi2_test.c4
-rw-r--r--test/Unit/popcountsi2_test.c4
-rw-r--r--test/Unit/popcountti2_test.c4
-rw-r--r--test/Unit/powidf2_test.c4
-rw-r--r--test/Unit/powisf2_test.c4
-rw-r--r--test/Unit/powitf2_test.c4
-rw-r--r--test/Unit/powixf2_test.c4
-rw-r--r--test/Unit/subdf3vfp_test.c4
-rw-r--r--test/Unit/subsf3vfp_test.c4
-rw-r--r--test/Unit/subvdi3_test.c4
-rw-r--r--test/Unit/subvsi3_test.c4
-rw-r--r--test/Unit/subvti3_test.c4
-rw-r--r--test/Unit/trampoline_setup_test.c4
-rw-r--r--test/Unit/truncdfsf2vfp_test.c4
-rw-r--r--test/Unit/ucmpdi2_test.c4
-rw-r--r--test/Unit/ucmpti2_test.c4
-rw-r--r--test/Unit/udivdi3_test.c4
-rw-r--r--test/Unit/udivmoddi4_test.c4
-rw-r--r--test/Unit/udivmodsi4_test.c59
-rw-r--r--test/Unit/udivmodti4_test.c4
-rw-r--r--test/Unit/udivsi3_test.c4
-rw-r--r--test/Unit/udivti3_test.c4
-rw-r--r--test/Unit/umoddi3_test.c4
-rw-r--r--test/Unit/umodsi3_test.c4
-rw-r--r--test/Unit/umodti3_test.c4
-rw-r--r--test/Unit/unorddf2vfp_test.c4
-rw-r--r--test/Unit/unordsf2vfp_test.c4
143 files changed, 414 insertions, 282 deletions
diff --git a/test/Unit/absvdi2_test.c b/test/Unit/absvdi2_test.c
index 5974f9c..f0bf560 100644
--- a/test/Unit/absvdi2_test.c
+++ b/test/Unit/absvdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/absvsi2_test.c b/test/Unit/absvsi2_test.c
index d7406a0..3b88078 100644
--- a/test/Unit/absvsi2_test.c
+++ b/test/Unit/absvsi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/absvti2_test.c b/test/Unit/absvti2_test.c
index 1ab4f5f..0a1db6a 100644
--- a/test/Unit/absvti2_test.c
+++ b/test/Unit/absvti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/adddf3vfp_test.c b/test/Unit/adddf3vfp_test.c
index c5bec05..6ead234 100644
--- a/test/Unit/adddf3vfp_test.c
+++ b/test/Unit/adddf3vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/addsf3vfp_test.c b/test/Unit/addsf3vfp_test.c
index 0a731a9..ddfe39f 100644
--- a/test/Unit/addsf3vfp_test.c
+++ b/test/Unit/addsf3vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/addvdi3_test.c b/test/Unit/addvdi3_test.c
index b4247bd..0d7271d 100644
--- a/test/Unit/addvdi3_test.c
+++ b/test/Unit/addvdi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/addvsi3_test.c b/test/Unit/addvsi3_test.c
index f6acde1..59fd9d2 100644
--- a/test/Unit/addvsi3_test.c
+++ b/test/Unit/addvsi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/addvti3_test.c b/test/Unit/addvti3_test.c
index 17a8864..33cfbc9 100644
--- a/test/Unit/addvti3_test.c
+++ b/test/Unit/addvti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ashldi3_test.c b/test/Unit/ashldi3_test.c
index 8afe3d7..fb80c6f 100644
--- a/test/Unit/ashldi3_test.c
+++ b/test/Unit/ashldi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ashlti3_test.c b/test/Unit/ashlti3_test.c
index 2921a6a..4b6c6ca 100644
--- a/test/Unit/ashlti3_test.c
+++ b/test/Unit/ashlti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ashrdi3_test.c b/test/Unit/ashrdi3_test.c
index 487fa25..ac517e1 100644
--- a/test/Unit/ashrdi3_test.c
+++ b/test/Unit/ashrdi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ashrti3_test.c b/test/Unit/ashrti3_test.c
index aaef120..bfa34cb 100644
--- a/test/Unit/ashrti3_test.c
+++ b/test/Unit/ashrti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/bswapdi2_test.c b/test/Unit/bswapdi2_test.c
index 177032d..634c2f9 100644
--- a/test/Unit/bswapdi2_test.c
+++ b/test/Unit/bswapdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/bswapsi2_test.c b/test/Unit/bswapsi2_test.c
index 8ca4874..4fb7560 100644
--- a/test/Unit/bswapsi2_test.c
+++ b/test/Unit/bswapsi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/clear_cache_test.c b/test/Unit/clear_cache_test.c
index 63ca66e..5267239 100644
--- a/test/Unit/clear_cache_test.c
+++ b/test/Unit/clear_cache_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/test/Unit/clzdi2_test.c b/test/Unit/clzdi2_test.c
index 24b85d8..58403f0 100644
--- a/test/Unit/clzdi2_test.c
+++ b/test/Unit/clzdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/clzsi2_test.c b/test/Unit/clzsi2_test.c
index c4555d7..cc1da64 100644
--- a/test/Unit/clzsi2_test.c
+++ b/test/Unit/clzsi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/clzti2_test.c b/test/Unit/clzti2_test.c
index e1229f1..668c790 100644
--- a/test/Unit/clzti2_test.c
+++ b/test/Unit/clzti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/cmpdi2_test.c b/test/Unit/cmpdi2_test.c
index 459a5d5..609ab1a 100644
--- a/test/Unit/cmpdi2_test.c
+++ b/test/Unit/cmpdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/cmpti2_test.c b/test/Unit/cmpti2_test.c
index f590ddf..2f5828e 100644
--- a/test/Unit/cmpti2_test.c
+++ b/test/Unit/cmpti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/comparedf2_test.c b/test/Unit/comparedf2_test.c
index 7bbf0a3..6623722 100644
--- a/test/Unit/comparedf2_test.c
+++ b/test/Unit/comparedf2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/comparesf2_test.c b/test/Unit/comparesf2_test.c
index c6d1424..026e900 100644
--- a/test/Unit/comparesf2_test.c
+++ b/test/Unit/comparesf2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ctzdi2_test.c b/test/Unit/ctzdi2_test.c
index b72fdb3..1f2d101 100644
--- a/test/Unit/ctzdi2_test.c
+++ b/test/Unit/ctzdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ctzsi2_test.c b/test/Unit/ctzsi2_test.c
index 2c6fd0e..36f2215 100644
--- a/test/Unit/ctzsi2_test.c
+++ b/test/Unit/ctzsi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ctzti2_test.c b/test/Unit/ctzti2_test.c
index ad18b44..485a88d 100644
--- a/test/Unit/ctzti2_test.c
+++ b/test/Unit/ctzti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/divdc3_test.c b/test/Unit/divdc3_test.c
index c44eb5c..9224cdd 100644
--- a/test/Unit/divdc3_test.c
+++ b/test/Unit/divdc3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/divdf3vfp_test.c b/test/Unit/divdf3vfp_test.c
index 2ca382a..ce5b258 100644
--- a/test/Unit/divdf3vfp_test.c
+++ b/test/Unit/divdf3vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/divdi3_test.c b/test/Unit/divdi3_test.c
index 0566a78..c25f917 100644
--- a/test/Unit/divdi3_test.c
+++ b/test/Unit/divdi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/divmodsi4_test.c b/test/Unit/divmodsi4_test.c
new file mode 100644
index 0000000..bea31ea
--- /dev/null
+++ b/test/Unit/divmodsi4_test.c
@@ -0,0 +1,73 @@
+//===-- divmodsi4_test.c - Test __divmodsi4 -------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file tests __divmodsi4 for the compiler_rt library.
+//
+//===----------------------------------------------------------------------===//
+
+#include "int_lib.h"
+#include <stdio.h>
+
+// Returns: a / b
+
+extern si_int __divmodsi4(si_int a, si_int b, si_int* rem);
+
+
+int test__divmodsi4(si_int a, si_int b,
+ si_int expected_result, si_int expected_rem)
+{
+ si_int rem;
+ si_int result = __divmodsi4(a, b, &rem);
+ if (result != expected_result) {
+ printf("error in __divmodsi4: %d / %d = %d, expected %d\n",
+ a, b, result, expected_result);
+ return 1;
+ }
+ if (rem != expected_rem) {
+ printf("error in __divmodsi4: %d mod %d = %d, expected %d\n",
+ a, b, rem, expected_rem);
+ return 1;
+ }
+
+ return 0;
+}
+
+
+int main()
+{
+ if (test__divmodsi4(0, 1, 0, 0))
+ return 1;
+ if (test__divmodsi4(0, -1, 0, 0))
+ return 1;
+
+ if (test__divmodsi4(2, 1, 2, 0))
+ return 1;
+ if (test__divmodsi4(2, -1, -2, 0))
+ return 1;
+ if (test__divmodsi4(-2, 1, -2, 0))
+ return 1;
+ if (test__divmodsi4(-2, -1, 2, 0))
+ return 1;
+
+ if (test__divmodsi4(7, 5, 1, 2))
+ return 1;
+ if (test__divmodsi4(-7, 5, -1, -2))
+ return 1;
+ if (test__divmodsi4(19, 5, 3, 4))
+ return 1;
+ if (test__divmodsi4(19, -5, -3, 4))
+ return 1;
+
+ if (test__divmodsi4(0x80000000, 8, 0xf0000000, 0))
+ return 1;
+ if (test__divmodsi4(0x80000007, 8, 0xf0000001, -1))
+ return 1;
+
+ return 0;
+}
diff --git a/test/Unit/divsc3_test.c b/test/Unit/divsc3_test.c
index 50979ab..9d060a2 100644
--- a/test/Unit/divsc3_test.c
+++ b/test/Unit/divsc3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/divsf3vfp_test.c b/test/Unit/divsf3vfp_test.c
index 0dbae2f..6248ca0 100644
--- a/test/Unit/divsf3vfp_test.c
+++ b/test/Unit/divsf3vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/divsi3_test.c b/test/Unit/divsi3_test.c
index 425c579..6fda54f 100644
--- a/test/Unit/divsi3_test.c
+++ b/test/Unit/divsi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/divtc3_test.c b/test/Unit/divtc3_test.c
index 3fa6085..815c10b 100644
--- a/test/Unit/divtc3_test.c
+++ b/test/Unit/divtc3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/divti3_test.c b/test/Unit/divti3_test.c
index b5546ca..c9eceed 100644
--- a/test/Unit/divti3_test.c
+++ b/test/Unit/divti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/divxc3_test.c b/test/Unit/divxc3_test.c
index 6c64d34..c93db67 100644
--- a/test/Unit/divxc3_test.c
+++ b/test/Unit/divxc3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/enable_execute_stack_test.c b/test/Unit/enable_execute_stack_test.c
index a0e97bb..ae4c320 100644
--- a/test/Unit/enable_execute_stack_test.c
+++ b/test/Unit/enable_execute_stack_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/test/Unit/endianness.h b/test/Unit/endianness.h
index 28b0ace..6f9f77b 100644
--- a/test/Unit/endianness.h
+++ b/test/Unit/endianness.h
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/test/Unit/eqdf2vfp_test.c b/test/Unit/eqdf2vfp_test.c
index 36b77ad..6babd24 100644
--- a/test/Unit/eqdf2vfp_test.c
+++ b/test/Unit/eqdf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/eqsf2vfp_test.c b/test/Unit/eqsf2vfp_test.c
index ebcdbc4..4a292bc 100644
--- a/test/Unit/eqsf2vfp_test.c
+++ b/test/Unit/eqsf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/extebdsfdf2vfp_test.c b/test/Unit/extebdsfdf2vfp_test.c
index f2cf682..9bbe572 100644
--- a/test/Unit/extebdsfdf2vfp_test.c
+++ b/test/Unit/extebdsfdf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ffsdi2_test.c b/test/Unit/ffsdi2_test.c
index 8713c4f..9041127 100644
--- a/test/Unit/ffsdi2_test.c
+++ b/test/Unit/ffsdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ffsti2_test.c b/test/Unit/ffsti2_test.c
index 19da16a..b679ab2 100644
--- a/test/Unit/ffsti2_test.c
+++ b/test/Unit/ffsti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixdfdi_test.c b/test/Unit/fixdfdi_test.c
index d84d26d..d08afe3 100644
--- a/test/Unit/fixdfdi_test.c
+++ b/test/Unit/fixdfdi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixdfsivfp_test.c b/test/Unit/fixdfsivfp_test.c
index 00d24fb..a9f012c 100644
--- a/test/Unit/fixdfsivfp_test.c
+++ b/test/Unit/fixdfsivfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixdfti_test.c b/test/Unit/fixdfti_test.c
index 9761963..5ea3317 100644
--- a/test/Unit/fixdfti_test.c
+++ b/test/Unit/fixdfti_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixsfdi_test.c b/test/Unit/fixsfdi_test.c
index 434e1a9..d3e934a 100644
--- a/test/Unit/fixsfdi_test.c
+++ b/test/Unit/fixsfdi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixsfsivfp_test.c b/test/Unit/fixsfsivfp_test.c
index 19d70b1..c101522 100644
--- a/test/Unit/fixsfsivfp_test.c
+++ b/test/Unit/fixsfsivfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixsfti_test.c b/test/Unit/fixsfti_test.c
index 0685307..325659e 100644
--- a/test/Unit/fixsfti_test.c
+++ b/test/Unit/fixsfti_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunsdfdi_test.c b/test/Unit/fixunsdfdi_test.c
index fbdf368..0803fd2 100644
--- a/test/Unit/fixunsdfdi_test.c
+++ b/test/Unit/fixunsdfdi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunsdfsi_test.c b/test/Unit/fixunsdfsi_test.c
index 9e6b95d..54fe35b 100644
--- a/test/Unit/fixunsdfsi_test.c
+++ b/test/Unit/fixunsdfsi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunsdfsivfp_test.c b/test/Unit/fixunsdfsivfp_test.c
index 7c968f2..991506f 100644
--- a/test/Unit/fixunsdfsivfp_test.c
+++ b/test/Unit/fixunsdfsivfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunsdfti_test.c b/test/Unit/fixunsdfti_test.c
index 5b52466..1e44b82 100644
--- a/test/Unit/fixunsdfti_test.c
+++ b/test/Unit/fixunsdfti_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunssfdi_test.c b/test/Unit/fixunssfdi_test.c
index cde3c22..ac89be7 100644
--- a/test/Unit/fixunssfdi_test.c
+++ b/test/Unit/fixunssfdi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunssfsi_test.c b/test/Unit/fixunssfsi_test.c
index c8995b0..ce6a928 100644
--- a/test/Unit/fixunssfsi_test.c
+++ b/test/Unit/fixunssfsi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunssfsivfp_test.c b/test/Unit/fixunssfsivfp_test.c
index 9653175..08e0e8e 100644
--- a/test/Unit/fixunssfsivfp_test.c
+++ b/test/Unit/fixunssfsivfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunssfti_test.c b/test/Unit/fixunssfti_test.c
index 33f0596..cc5e44b 100644
--- a/test/Unit/fixunssfti_test.c
+++ b/test/Unit/fixunssfti_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunstfdi_test.c b/test/Unit/fixunstfdi_test.c
index d96b0ea..a7cc9be 100644
--- a/test/Unit/fixunstfdi_test.c
+++ b/test/Unit/fixunstfdi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunsxfdi_test.c b/test/Unit/fixunsxfdi_test.c
index f8c8945..6d0f8d3 100644
--- a/test/Unit/fixunsxfdi_test.c
+++ b/test/Unit/fixunsxfdi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunsxfsi_test.c b/test/Unit/fixunsxfsi_test.c
index 0353b6b..cb2a7f4 100644
--- a/test/Unit/fixunsxfsi_test.c
+++ b/test/Unit/fixunsxfsi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixunsxfti_test.c b/test/Unit/fixunsxfti_test.c
index ae5ba08..f1f6087 100644
--- a/test/Unit/fixunsxfti_test.c
+++ b/test/Unit/fixunsxfti_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixxfdi_test.c b/test/Unit/fixxfdi_test.c
index 47820c3..1facd36 100644
--- a/test/Unit/fixxfdi_test.c
+++ b/test/Unit/fixxfdi_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/fixxfti_test.c b/test/Unit/fixxfti_test.c
index 0d3d182..85c15a2 100644
--- a/test/Unit/fixxfti_test.c
+++ b/test/Unit/fixxfti_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatdidf_test.c b/test/Unit/floatdidf_test.c
index d207f55..af3dacd 100644
--- a/test/Unit/floatdidf_test.c
+++ b/test/Unit/floatdidf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatdisf_test.c b/test/Unit/floatdisf_test.c
index 91e098d..3e71df7 100644
--- a/test/Unit/floatdisf_test.c
+++ b/test/Unit/floatdisf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatdixf_test.c b/test/Unit/floatdixf_test.c
index d96c7e8..8d049fd 100644
--- a/test/Unit/floatdixf_test.c
+++ b/test/Unit/floatdixf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatsidfvfp_test.c b/test/Unit/floatsidfvfp_test.c
index 956fe86..79e87b3 100644
--- a/test/Unit/floatsidfvfp_test.c
+++ b/test/Unit/floatsidfvfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatsisfvfp_test.c b/test/Unit/floatsisfvfp_test.c
index 5642e9b..00f4ac2 100644
--- a/test/Unit/floatsisfvfp_test.c
+++ b/test/Unit/floatsisfvfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floattidf_test.c b/test/Unit/floattidf_test.c
index fff51ae..4fcf272 100644
--- a/test/Unit/floattidf_test.c
+++ b/test/Unit/floattidf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floattisf_test.c b/test/Unit/floattisf_test.c
index e4c9980..7e43aa1 100644
--- a/test/Unit/floattisf_test.c
+++ b/test/Unit/floattisf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floattixf_test.c b/test/Unit/floattixf_test.c
index ada9594..5ba17f1 100644
--- a/test/Unit/floattixf_test.c
+++ b/test/Unit/floattixf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatundidf_test.c b/test/Unit/floatundidf_test.c
index 5a8dcbf..ae91ac3 100644
--- a/test/Unit/floatundidf_test.c
+++ b/test/Unit/floatundidf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatundisf_test.c b/test/Unit/floatundisf_test.c
index 782db6d..394c945 100644
--- a/test/Unit/floatundisf_test.c
+++ b/test/Unit/floatundisf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatundixf_test.c b/test/Unit/floatundixf_test.c
index 40e1d72..43ac85f 100644
--- a/test/Unit/floatundixf_test.c
+++ b/test/Unit/floatundixf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatunssidfvfp_test.c b/test/Unit/floatunssidfvfp_test.c
index be0bd07..fa174ef 100644
--- a/test/Unit/floatunssidfvfp_test.c
+++ b/test/Unit/floatunssidfvfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatunssisfvfp_test.c b/test/Unit/floatunssisfvfp_test.c
index 13cee2f..099f4e3 100644
--- a/test/Unit/floatunssisfvfp_test.c
+++ b/test/Unit/floatunssisfvfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatuntidf_test.c b/test/Unit/floatuntidf_test.c
index dff3ca6..3b630f5 100644
--- a/test/Unit/floatuntidf_test.c
+++ b/test/Unit/floatuntidf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatuntisf_test.c b/test/Unit/floatuntisf_test.c
index 668e727..e80403b 100644
--- a/test/Unit/floatuntisf_test.c
+++ b/test/Unit/floatuntisf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/floatuntixf_test.c b/test/Unit/floatuntixf_test.c
index ec4c3ea..9d7f974 100644
--- a/test/Unit/floatuntixf_test.c
+++ b/test/Unit/floatuntixf_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/gcc_personality_test.c b/test/Unit/gcc_personality_test.c
index 7fe661b..f9598c6 100644
--- a/test/Unit/gcc_personality_test.c
+++ b/test/Unit/gcc_personality_test.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*/
diff --git a/test/Unit/gcc_personality_test_helper.cxx b/test/Unit/gcc_personality_test_helper.cxx
index eb64d82..7d1ddfb 100644
--- a/test/Unit/gcc_personality_test_helper.cxx
+++ b/test/Unit/gcc_personality_test_helper.cxx
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/test/Unit/gedf2vfp_test.c b/test/Unit/gedf2vfp_test.c
index 93df4c7..4731d3f 100644
--- a/test/Unit/gedf2vfp_test.c
+++ b/test/Unit/gedf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/gesf2vfp_test.c b/test/Unit/gesf2vfp_test.c
index af67c70..9f1c756 100644
--- a/test/Unit/gesf2vfp_test.c
+++ b/test/Unit/gesf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/gtdf2vfp_test.c b/test/Unit/gtdf2vfp_test.c
index d39ad82..f282979 100644
--- a/test/Unit/gtdf2vfp_test.c
+++ b/test/Unit/gtdf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/gtsf2vfp_test.c b/test/Unit/gtsf2vfp_test.c
index 40c37f2..03fb00e 100644
--- a/test/Unit/gtsf2vfp_test.c
+++ b/test/Unit/gtsf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ledf2vfp_test.c b/test/Unit/ledf2vfp_test.c
index 87455c3..e7ed522 100644
--- a/test/Unit/ledf2vfp_test.c
+++ b/test/Unit/ledf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/lesf2vfp_test.c b/test/Unit/lesf2vfp_test.c
index 03cb02a..dc5576b 100644
--- a/test/Unit/lesf2vfp_test.c
+++ b/test/Unit/lesf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/lshrdi3_test.c b/test/Unit/lshrdi3_test.c
index 90ad06b..ffc6a69 100644
--- a/test/Unit/lshrdi3_test.c
+++ b/test/Unit/lshrdi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/lshrti3_test.c b/test/Unit/lshrti3_test.c
index 5d68c52..093a6a2 100644
--- a/test/Unit/lshrti3_test.c
+++ b/test/Unit/lshrti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ltdf2vfp_test.c b/test/Unit/ltdf2vfp_test.c
index 615785e..5051e48 100644
--- a/test/Unit/ltdf2vfp_test.c
+++ b/test/Unit/ltdf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ltsf2vfp_test.c b/test/Unit/ltsf2vfp_test.c
index 73df39f..78d2c1a 100644
--- a/test/Unit/ltsf2vfp_test.c
+++ b/test/Unit/ltsf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/moddi3_test.c b/test/Unit/moddi3_test.c
index ab84c49..9f6801d 100644
--- a/test/Unit/moddi3_test.c
+++ b/test/Unit/moddi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/modsi3_test.c b/test/Unit/modsi3_test.c
index 82a0fab..52ec9a0 100644
--- a/test/Unit/modsi3_test.c
+++ b/test/Unit/modsi3_test.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/test/Unit/modti3_test.c b/test/Unit/modti3_test.c
index 3cbccbe..3be0714 100644
--- a/test/Unit/modti3_test.c
+++ b/test/Unit/modti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/muldc3_test.c b/test/Unit/muldc3_test.c
index 1d7fe42..112b612 100644
--- a/test/Unit/muldc3_test.c
+++ b/test/Unit/muldc3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/muldf3vfp_test.c b/test/Unit/muldf3vfp_test.c
index a99d8e9..7ca5559 100644
--- a/test/Unit/muldf3vfp_test.c
+++ b/test/Unit/muldf3vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/muldi3_test.c b/test/Unit/muldi3_test.c
index 915befa..83b5255 100644
--- a/test/Unit/muldi3_test.c
+++ b/test/Unit/muldi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/mulsc3_test.c b/test/Unit/mulsc3_test.c
index fa817a6..7a1b3ae 100644
--- a/test/Unit/mulsc3_test.c
+++ b/test/Unit/mulsc3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/mulsf3vfp_test.c b/test/Unit/mulsf3vfp_test.c
index f706c47..fcb124c 100644
--- a/test/Unit/mulsf3vfp_test.c
+++ b/test/Unit/mulsf3vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/multc3_test.c b/test/Unit/multc3_test.c
index 72adb93..40505f2 100644
--- a/test/Unit/multc3_test.c
+++ b/test/Unit/multc3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/multi3_test.c b/test/Unit/multi3_test.c
index 4fa2796..a4c0b7d 100644
--- a/test/Unit/multi3_test.c
+++ b/test/Unit/multi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/mulvdi3_test.c b/test/Unit/mulvdi3_test.c
index 1c73e64..a023bf6 100644
--- a/test/Unit/mulvdi3_test.c
+++ b/test/Unit/mulvdi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/mulvsi3_test.c b/test/Unit/mulvsi3_test.c
index c9e239a..1eb53a5 100644
--- a/test/Unit/mulvsi3_test.c
+++ b/test/Unit/mulvsi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/mulvti3_test.c b/test/Unit/mulvti3_test.c
index 509b267..dfe09ff 100644
--- a/test/Unit/mulvti3_test.c
+++ b/test/Unit/mulvti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/mulxc3_test.c b/test/Unit/mulxc3_test.c
index 0390d34..771d19a 100644
--- a/test/Unit/mulxc3_test.c
+++ b/test/Unit/mulxc3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/nedf2vfp_test.c b/test/Unit/nedf2vfp_test.c
index f2983fc..8fdac1a 100644
--- a/test/Unit/nedf2vfp_test.c
+++ b/test/Unit/nedf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/negdf2vfp_test.c b/test/Unit/negdf2vfp_test.c
index d019bd3..7bdf155 100644
--- a/test/Unit/negdf2vfp_test.c
+++ b/test/Unit/negdf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/negdi2_test.c b/test/Unit/negdi2_test.c
index 4de9ab6..510b3b0 100644
--- a/test/Unit/negdi2_test.c
+++ b/test/Unit/negdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/negsf2vfp_test.c b/test/Unit/negsf2vfp_test.c
index 0c75fdf..419b32d 100644
--- a/test/Unit/negsf2vfp_test.c
+++ b/test/Unit/negsf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/negti2_test.c b/test/Unit/negti2_test.c
index 13c28e6..6ecc862 100644
--- a/test/Unit/negti2_test.c
+++ b/test/Unit/negti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/negvdi2_test.c b/test/Unit/negvdi2_test.c
index 7fef4d9..9617b95 100644
--- a/test/Unit/negvdi2_test.c
+++ b/test/Unit/negvdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/negvsi2_test.c b/test/Unit/negvsi2_test.c
index 0480528..5ea0e2e 100644
--- a/test/Unit/negvsi2_test.c
+++ b/test/Unit/negvsi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/negvti2_test.c b/test/Unit/negvti2_test.c
index 7772c08..1dc904e 100644
--- a/test/Unit/negvti2_test.c
+++ b/test/Unit/negvti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/nesf2vfp_test.c b/test/Unit/nesf2vfp_test.c
index dcbc483..507b42e 100644
--- a/test/Unit/nesf2vfp_test.c
+++ b/test/Unit/nesf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/paritydi2_test.c b/test/Unit/paritydi2_test.c
index 297de8f..5360e37 100644
--- a/test/Unit/paritydi2_test.c
+++ b/test/Unit/paritydi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/paritysi2_test.c b/test/Unit/paritysi2_test.c
index f15f90e..3ea8473 100644
--- a/test/Unit/paritysi2_test.c
+++ b/test/Unit/paritysi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/parityti2_test.c b/test/Unit/parityti2_test.c
index 6fe1cf6..c2f8d3d 100644
--- a/test/Unit/parityti2_test.c
+++ b/test/Unit/parityti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/popcountdi2_test.c b/test/Unit/popcountdi2_test.c
index 6d555ce..4c56117 100644
--- a/test/Unit/popcountdi2_test.c
+++ b/test/Unit/popcountdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/popcountsi2_test.c b/test/Unit/popcountsi2_test.c
index 3d91cde..d0a05c4 100644
--- a/test/Unit/popcountsi2_test.c
+++ b/test/Unit/popcountsi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/popcountti2_test.c b/test/Unit/popcountti2_test.c
index 917b5cb..53fee3b 100644
--- a/test/Unit/popcountti2_test.c
+++ b/test/Unit/popcountti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/powidf2_test.c b/test/Unit/powidf2_test.c
index 48cb4bb..2abc84d 100644
--- a/test/Unit/powidf2_test.c
+++ b/test/Unit/powidf2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/powisf2_test.c b/test/Unit/powisf2_test.c
index 789bb37..98409f4 100644
--- a/test/Unit/powisf2_test.c
+++ b/test/Unit/powisf2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/powitf2_test.c b/test/Unit/powitf2_test.c
index 4258ce2..ca690fd 100644
--- a/test/Unit/powitf2_test.c
+++ b/test/Unit/powitf2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/powixf2_test.c b/test/Unit/powixf2_test.c
index 74403aa..67d2463 100644
--- a/test/Unit/powixf2_test.c
+++ b/test/Unit/powixf2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/subdf3vfp_test.c b/test/Unit/subdf3vfp_test.c
index ee5a492..d1517ec 100644
--- a/test/Unit/subdf3vfp_test.c
+++ b/test/Unit/subdf3vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/subsf3vfp_test.c b/test/Unit/subsf3vfp_test.c
index f6853e3..aabd01d 100644
--- a/test/Unit/subsf3vfp_test.c
+++ b/test/Unit/subsf3vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/subvdi3_test.c b/test/Unit/subvdi3_test.c
index 8af7928..0fb8f51 100644
--- a/test/Unit/subvdi3_test.c
+++ b/test/Unit/subvdi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/subvsi3_test.c b/test/Unit/subvsi3_test.c
index c37b4b2..14e6ce1 100644
--- a/test/Unit/subvsi3_test.c
+++ b/test/Unit/subvsi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/subvti3_test.c b/test/Unit/subvti3_test.c
index 11d8175..a579a1f 100644
--- a/test/Unit/subvti3_test.c
+++ b/test/Unit/subvti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/trampoline_setup_test.c b/test/Unit/trampoline_setup_test.c
index 8d1c968..c6dbe70 100644
--- a/test/Unit/trampoline_setup_test.c
+++ b/test/Unit/trampoline_setup_test.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*/
diff --git a/test/Unit/truncdfsf2vfp_test.c b/test/Unit/truncdfsf2vfp_test.c
index f02b836..4a44dc7 100644
--- a/test/Unit/truncdfsf2vfp_test.c
+++ b/test/Unit/truncdfsf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ucmpdi2_test.c b/test/Unit/ucmpdi2_test.c
index eab9589..2205907 100644
--- a/test/Unit/ucmpdi2_test.c
+++ b/test/Unit/ucmpdi2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/ucmpti2_test.c b/test/Unit/ucmpti2_test.c
index cb6b4b74..d17fbb2 100644
--- a/test/Unit/ucmpti2_test.c
+++ b/test/Unit/ucmpti2_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/udivdi3_test.c b/test/Unit/udivdi3_test.c
index 115453b..24843f8 100644
--- a/test/Unit/udivdi3_test.c
+++ b/test/Unit/udivdi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/udivmoddi4_test.c b/test/Unit/udivmoddi4_test.c
index 3ac4809..43bf1a1 100644
--- a/test/Unit/udivmoddi4_test.c
+++ b/test/Unit/udivmoddi4_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/udivmodsi4_test.c b/test/Unit/udivmodsi4_test.c
new file mode 100644
index 0000000..d734cd1
--- /dev/null
+++ b/test/Unit/udivmodsi4_test.c
@@ -0,0 +1,59 @@
+//===-- udivmodsi4_test.c - Test __udivmodsi4 -----------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file tests __udivmodsi4 for the compiler_rt library.
+//
+//===----------------------------------------------------------------------===//
+
+#include "int_lib.h"
+#include <stdio.h>
+
+// Returns: a / b
+
+extern su_int __udivmodsi4(su_int a, su_int b, su_int* rem);
+
+int test__udivmodsi4(su_int a, su_int b,
+ su_int expected_result, su_int expected_rem)
+{
+ su_int rem;
+ su_int result = __udivmodsi4(a, b, &rem);
+ if (result != expected_result) {
+ printf("error in __udivmodsi4: %u / %u = %u, expected %u\n",
+ a, b, result, expected_result);
+ return 1;
+ }
+ if (rem != expected_rem) {
+ printf("error in __udivmodsi4: %u mod %u = %u, expected %u\n",
+ a, b, rem, expected_rem);
+ return 1;
+ }
+
+ return 0;
+}
+
+
+int main()
+{
+ if (test__udivmodsi4(0, 1, 0, 0))
+ return 1;
+
+ if (test__udivmodsi4(2, 1, 2, 0))
+ return 1;
+
+ if (test__udivmodsi4(19, 5, 3, 4))
+ return 1;
+
+ if (test__udivmodsi4(0x80000000, 8, 0x10000000, 0))
+ return 1;
+
+ if (test__udivmodsi4(0x80000003, 8, 0x10000000, 3))
+ return 1;
+
+ return 0;
+}
diff --git a/test/Unit/udivmodti4_test.c b/test/Unit/udivmodti4_test.c
index d16002c..620929a 100644
--- a/test/Unit/udivmodti4_test.c
+++ b/test/Unit/udivmodti4_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/udivsi3_test.c b/test/Unit/udivsi3_test.c
index 0fdf714..325e4e6 100644
--- a/test/Unit/udivsi3_test.c
+++ b/test/Unit/udivsi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/udivti3_test.c b/test/Unit/udivti3_test.c
index 3b7846e..a94739a 100644
--- a/test/Unit/udivti3_test.c
+++ b/test/Unit/udivti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/umoddi3_test.c b/test/Unit/umoddi3_test.c
index 3ffa0be..a8f39b4 100644
--- a/test/Unit/umoddi3_test.c
+++ b/test/Unit/umoddi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/umodsi3_test.c b/test/Unit/umodsi3_test.c
index 89c7c23..66da695f 100644
--- a/test/Unit/umodsi3_test.c
+++ b/test/Unit/umodsi3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/umodti3_test.c b/test/Unit/umodti3_test.c
index 3f6696a..d75a1b3 100644
--- a/test/Unit/umodti3_test.c
+++ b/test/Unit/umodti3_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/unorddf2vfp_test.c b/test/Unit/unorddf2vfp_test.c
index a08c06c..1031138 100644
--- a/test/Unit/unorddf2vfp_test.c
+++ b/test/Unit/unorddf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/test/Unit/unordsf2vfp_test.c b/test/Unit/unordsf2vfp_test.c
index cf51396..dedd7ec 100644
--- a/test/Unit/unordsf2vfp_test.c
+++ b/test/Unit/unordsf2vfp_test.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
OpenPOWER on IntegriCloud