aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/AsmToJSON.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-03-15 15:07:47 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2016-03-15 15:07:47 +0100
commit272a5b812b72f4c3e409ccdbeaf3476d95c4b552 (patch)
tree6a8d5e75a11860b69522cef3b512b1ef5effb438 /powerpc/AsmToJSON.ml
parent2185164c1845c30ebd4118ed5bc8d339b16663a9 (diff)
downloadcompcert-kvx-272a5b812b72f4c3e409ccdbeaf3476d95c4b552.tar.gz
compcert-kvx-272a5b812b72f4c3e409ccdbeaf3476d95c4b552.zip
Deactivate warning 27 and added back removed code.
The code was mostly there for documentation effort. So warning 27 is deactivated again. Bug 18349
Diffstat (limited to 'powerpc/AsmToJSON.ml')
-rw-r--r--powerpc/AsmToJSON.ml18
1 files changed, 9 insertions, 9 deletions
diff --git a/powerpc/AsmToJSON.ml b/powerpc/AsmToJSON.ml
index dd7306fc..3d28c102 100644
--- a/powerpc/AsmToJSON.ml
+++ b/powerpc/AsmToJSON.ml
@@ -177,12 +177,12 @@ let p_instruction oc ic =
| Pandi_ (ir1,ir2,c) -> instruction "Pandi_" [Ireg ir1; Ireg ir2; Constant c]
| Pandis_ (ir1,ir2,c) -> instruction "Pandis_" [Ireg ir1; Ireg ir2; Constant c]
| Pb l -> instruction "Pb" [ALabel l]
- | Pbctr _ -> instruction "Pbctr" []
- | Pbctrl _ -> instruction "Pbctrl" []
+ | Pbctr s -> instruction "Pbctr" []
+ | Pbctrl s -> instruction "Pbctrl" []
| Pbdnz l -> instruction "Pbdnz" [ALabel l]
| Pbf (cr,l) -> instruction "Pbf" [Crbit cr; ALabel l]
- | Pbl (i,_) -> instruction "Pbl" [Atom i]
- | Pbs (i,_) -> instruction "Pbs" [Atom i]
+ | Pbl (i,s) -> instruction "Pbl" [Atom i]
+ | Pbs (i,s) -> instruction "Pbs" [Atom i]
| Pblr -> instruction "Pblr" []
| Pbt (cr,l) -> instruction "Pbt" [Crbit cr; ALabel l]
| Pbtbl (i,lb) -> instruction "Pbtbl" ((Ireg i)::(List.map (fun a -> ALabel a) lb))
@@ -208,13 +208,13 @@ let p_instruction oc ic =
| Pextsb (ir1,ir2) -> instruction "Pextsb" [Ireg ir1; Ireg ir2]
| Pextsh (ir1,ir2) -> instruction "Pextsh" [Ireg ir1; Ireg ir2]
| Pextsw (ir1,ir2) -> instruction "Pextsw" [Ireg ir1; Ireg ir2]
- | Pfreeframe _ -> assert false (* Should not occur *)
+ | Pfreeframe (c,i) -> assert false (* Should not occur *)
| Pfabs (fr1,fr2)
| Pfabss (fr1,fr2) -> instruction "Pfabs" [Freg fr1; Freg fr2]
| Pfadd (fr1,fr2,fr3) -> instruction "Pfadd" [Freg fr1; Freg fr2; Freg fr3]
| Pfadds (fr1,fr2,fr3) -> instruction "Pfadds" [Freg fr1; Freg fr2; Freg fr3]
| Pfcmpu (fr1,fr2) -> instruction "Pfcmpu" [Freg fr1; Freg fr2]
- | Pfcfi _ -> () (* Should not occur *)
+ | Pfcfi (ir,fr) -> () (* Should not occur *)
| Pfcfid (fr1,fr2) -> instruction "Pfcfid" [Freg fr1; Freg fr2]
| Pfcfiu _ (* Should not occur *)
| Pfcti _ (* Should not occur *)
@@ -224,14 +224,14 @@ let p_instruction oc ic =
| Pfctiwz (fr1,fr2) -> instruction "Pfctiwz" [Freg fr1; Freg fr2]
| Pfdiv (fr1,fr2,fr3) -> instruction "Pfdiv" [Freg fr1; Freg fr2; Freg fr3]
| Pfdivs (fr1,fr2,fr3) -> instruction "Pfdivs" [Freg fr1; Freg fr2; Freg fr3]
- | Pfmake _ -> ()(* Should not occur *)
+ | Pfmake (fr,ir1,ir2) -> ()(* Should not occur *)
| Pfmr (fr1,fr2) -> instruction "Pfmr" [Freg fr1; Freg fr2]
| Pfmul (fr1,fr2,fr3) -> instruction "Pfmul" [Freg fr1; Freg fr2; Freg fr3]
| Pfmuls(fr1,fr2,fr3) -> instruction "Pfmuls" [Freg fr1; Freg fr2; Freg fr3]
| Pfneg (fr1,fr2)
| Pfnegs (fr1,fr2) -> instruction "Pfneg" [Freg fr1; Freg fr2]
| Pfrsp (fr1,fr2) -> instruction "Pfrsp" [Freg fr1; Freg fr2]
- | Pfxdp _ -> () (* Should not occur *)
+ | Pfxdp (fr1,fr2) -> () (* Should not occur *)
| Pfsub (fr1,fr2,fr3) -> instruction "Pfsub" [Freg fr1; Freg fr2; Freg fr3]
| Pfsubs (fr1,fr2,fr3) -> instruction "Pfsubs" [Freg fr1; Freg fr2; Freg fr3]
| Pfmadd (fr1,fr2,fr3,fr4) -> instruction "Pfmadd" [Freg fr1; Freg fr2; Freg fr3; Freg fr4]
@@ -271,7 +271,7 @@ let p_instruction oc ic =
| Plwbrx (ir1,ir2,ir3) -> instruction "Plwbrx" [Ireg ir1; Ireg ir2; Ireg ir3]
| Pmbar c -> instruction "Pmbar" [Constant (Cint c)]
| Pmfcr ir -> instruction "Pmfcr" [Ireg ir]
- | Pmfcrbit _ -> () (* Should not occur *)
+ | Pmfcrbit (ir,crb) -> () (* Should not occur *)
| Pmflr ir -> instruction "Pmflr" [Ireg ir]
| Pmr (ir1,ir2) -> instruction "Pmr" [Ireg ir1; Ireg ir2]
| Pmtctr ir -> instruction "Pmtctr" [Ireg ir]