rename maxloc page
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 26 Apr 2023 18:50:32 +0000 (19:50 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 26 Apr 2023 18:50:32 +0000 (19:50 +0100)
openpower/sv/cookbook/fortran__95__maxloc.mdwn [deleted file]
openpower/sv/cookbook/fortran_maxloc.mdwn [new file with mode: 0644]

diff --git a/openpower/sv/cookbook/fortran__95__maxloc.mdwn b/openpower/sv/cookbook/fortran__95__maxloc.mdwn
deleted file mode 100644 (file)
index bd7d826..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<https://bugs.libre-soc.org/show_bug.cgi?id=676>
-
-```
-int m2(int * const restrict a, int n) 
-{ 
-   int m, nm; 
-   int i; 
-
-   m = INT_MIN; 
-   nm = -1; 
-   for (i=0; i<n; i++) 
-   { 
-       if (a[i] > m) 
-       { 
-           m = a[i]; 
-           nm = i; 
-       } 
-    } 
-    return nm; 
-}
-```
-
-[[!tag svp64_cookbook ]]
diff --git a/openpower/sv/cookbook/fortran_maxloc.mdwn b/openpower/sv/cookbook/fortran_maxloc.mdwn
new file mode 100644 (file)
index 0000000..bd7d826
--- /dev/null
@@ -0,0 +1,23 @@
+<https://bugs.libre-soc.org/show_bug.cgi?id=676>
+
+```
+int m2(int * const restrict a, int n) 
+{ 
+   int m, nm; 
+   int i; 
+
+   m = INT_MIN; 
+   nm = -1; 
+   for (i=0; i<n; i++) 
+   { 
+       if (a[i] > m) 
+       { 
+           m = a[i]; 
+           nm = i; 
+       } 
+    } 
+    return nm; 
+}
+```
+
+[[!tag svp64_cookbook ]]