From 7fe3c745283dcfd7cd304bca68ae2cc3ea7cd4a5 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Mon, 17 Aug 2015 16:11:47 +0200 Subject: Added builtin for the dcbf instruction --- powerpc/Asm.v | 2 ++ 1 file changed, 2 insertions(+) (limited to 'powerpc/Asm.v') diff --git a/powerpc/Asm.v b/powerpc/Asm.v index f1e84146..b7656dc4 100644 --- a/powerpc/Asm.v +++ b/powerpc/Asm.v @@ -165,6 +165,7 @@ Inductive instruction : Type := | Pcreqv: crbit -> crbit -> crbit -> instruction (**r not-xor between condition bits *) | Pcror: crbit -> crbit -> crbit -> instruction (**r or between condition bits *) | Pcrxor: crbit -> crbit -> crbit -> instruction (**r xor between condition bits *) + | Pdcbf: ireg -> ireg -> instruction (**r data cache flush *) | Pdcbi: ireg -> ireg -> instruction (**r data cache invalidate *) | Pdivw: ireg -> ireg -> ireg -> instruction (**r signed division *) | Pdivwu: ireg -> ireg -> ireg -> instruction (**r unsigned division *) @@ -859,6 +860,7 @@ Definition exec_instr (f: function) (i: instruction) (rs: regset) (m: mem) : out | Pcntlzw _ _ | Pcreqv _ _ _ | Pcrxor _ _ _ + | Pdcbf _ _ | Pdcbi _ _ | Peieio | Pfctiw _ _ -- cgit