aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-09-14 21:37:04 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-09-14 21:37:04 +0000
commit7484b8e6d911ef13ec4197a4b8334220c41f7dc4 (patch)
tree274e8151e197b5f513e48b4a62ed99c907e09f17 /gas/testsuite
parent74d1c347e92b42c9d546fbe67d7a572a72c54a41 (diff)
downloadgdb-7484b8e6d911ef13ec4197a4b8334220c41f7dc4.zip
gdb-7484b8e6d911ef13ec4197a4b8334220c41f7dc4.tar.gz
gdb-7484b8e6d911ef13ec4197a4b8334220c41f7dc4.tar.bz2
Eliminate false DVs on parallel compares.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/ia64/dv-waw-err.l24
-rw-r--r--gas/testsuite/gas/ia64/dv-waw-err.s29
3 files changed, 58 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 2b1d558..16aa307 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-14 Timothy Wall <twall@cygnus.com>
+
+ * gas/ia64/dv-waw-err.[sl]: Additional tests for parallel
+ comparisons which should and should not produce DVs.
+
2000-09-05 Alan Modra <alan@linuxcare.com.au>
* gas/vtable/vtable.exp: Re-enable for hppa-elf.
diff --git a/gas/testsuite/gas/ia64/dv-waw-err.l b/gas/testsuite/gas/ia64/dv-waw-err.l
index 51fb26a..2a79088 100644
--- a/gas/testsuite/gas/ia64/dv-waw-err.l
+++ b/gas/testsuite/gas/ia64/dv-waw-err.l
@@ -351,3 +351,27 @@
.*:507: Warning: This is the location of the conflicting usage
.*:513: Warning: Use of 'mov' .* WAW dependency 'RR#' \(impliedf\), specific resource number is 7
.*:512: Warning: This is the location of the conflicting usage
+.*:537: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR%.*' \(impliedf\), specific resource number is 7
+.*:536: Warning: This is the location of the conflicting usage
+.*:537: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR%.*' \(impliedf\), specific resource number is 6
+.*:536: Warning: This is the location of the conflicting usage
+.*:537: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR%.*' \(impliedf\), specific resource number is 7
+.*:536: Warning: This is the location of the conflicting usage
+.*:537: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR%.*' \(impliedf\), specific resource number is 6
+.*:536: Warning: This is the location of the conflicting usage
+.*:540: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR%.*' \(impliedf\), specific resource number is 7
+.*:539: Warning: This is the location of the conflicting usage
+.*:540: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR%.*' \(impliedf\), specific resource number is 7
+.*:539: Warning: This is the location of the conflicting usage
+.*:540: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR63' \(impliedf\)
+.*:539: Warning: This is the location of the conflicting usage
+.*:540: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR63' \(impliedf\)
+.*:539: Warning: This is the location of the conflicting usage
+.*:543: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR%.*' \(impliedf\), specific resource number is 6
+.*:542: Warning: This is the location of the conflicting usage
+.*:543: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR%.*' \(impliedf\), specific resource number is 6
+.*:542: Warning: This is the location of the conflicting usage
+.*:543: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR63' \(impliedf\)
+.*:542: Warning: This is the location of the conflicting usage
+.*:543: Warning: Use of 'cmp.eq.and.orcm' .* WAW .* 'PR63' \(impliedf\)
+.*:542: Warning: This is the location of the conflicting usage
diff --git a/gas/testsuite/gas/ia64/dv-waw-err.s b/gas/testsuite/gas/ia64/dv-waw-err.s
index c6f4fe0..631c7f3 100644
--- a/gas/testsuite/gas/ia64/dv-waw-err.s
+++ b/gas/testsuite/gas/ia64/dv-waw-err.s
@@ -513,4 +513,33 @@
mov rr[r2] = r3
;;
// RSE
+
+// PR, additional cases (or.andcm and and.orcm interaction)
+ cmp.eq.or.andcm p6, p7 = 1, r32
+ cmp.eq.or.andcm p6, p7 = 5, r36 // no DV here
+ ;;
+ cmp.eq.and.orcm p6, p7 = 1, r32
+ cmp.eq.and.orcm p6, p7 = 5, r36 // no DV here
+ ;;
+ cmp.eq.or.andcm p63, p7 = 1, r32
+ cmp.eq.or.andcm p63, p7 = 5, r36 // no DV here
+ ;;
+ cmp.eq.or.andcm p6, p63 = 1, r32
+ cmp.eq.or.andcm p6, p63 = 5, r36 // no DV here
+ ;;
+ cmp.eq.and.orcm p63, p7 = 1, r32
+ cmp.eq.and.orcm p63, p7 = 5, r36 // no DV here
+ ;;
+ cmp.eq.and.orcm p6, p63 = 1, r32
+ cmp.eq.and.orcm p6, p63 = 5, r36 // no DV here
+ ;;
+ cmp.eq.or.andcm p6, p7 = 1, r32
+ cmp.eq.and.orcm p6, p7 = 5, r36
+ ;;
+ cmp.eq.or.andcm p63, p7 = 1, r32
+ cmp.eq.and.orcm p63, p7 = 5, r36
+ ;;
+ cmp.eq.or.andcm p6, p63 = 1, r32
+ cmp.eq.and.orcm p6, p63 = 5, r36
+ ;;
L: