1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
This commit is contained in:
julianb0 2019-05-30 20:27:11 +02:00
parent 503c9328dc
commit 3e5a9a746b
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62
2 changed files with 83 additions and 0 deletions

View File

@ -11,6 +11,12 @@ nop
not r not r
not m not m
cnotz r
cnotz m
cnotnz r
cnotnz m
and r r and r r
and r i and r i
and r m and r m
@ -18,6 +24,20 @@ and m r
and m i and m i
and m m and m m
candz r r
candz r i
candz r m
candz m r
candz m i
candz m m
candnz r r
candnz r i
candnz r m
candnz m r
candnz m i
candnz m m
or r r or r r
or r i or r i
or r m or r m
@ -25,6 +45,20 @@ or m r
or m i or m i
or m m or m m
corz r r
corz r i
corz r m
corz m r
corz m i
corz m m
cornz r r
cornz r i
cornz r m
cornz m r
cornz m i
cornz m m
xor r r xor r r
xor r i xor r i
xor r m xor r m
@ -32,6 +66,20 @@ xor m r
xor m i xor m i
xor m m xor m m
cxorz r r
cxorz r i
cxorz r m
cxorz m r
cxorz m i
cxorz m m
cxornz r r
cxornz r i
cxornz r m
cxornz m r
cxornz m i
cxornz m m
# shift left logical # shift left logical
shl r r shl r r
shl r i shl r i
@ -40,6 +88,20 @@ shl m r
shl m i shl m i
shl m m shl m m
cshlz r r
cshlz r i
cshlz r m
cshlz m r
cshlz m i
cshlz m m
cshlnz r r
cshlnz r i
cshlnz r m
cshlnz m r
cshlnz m i
cshlnz m m
# shift right logical # shift right logical
shr r r shr r r
shr r i shr r i
@ -48,6 +110,20 @@ shr m r
shr m i shr m i
shr m m shr m m
cshrz r r
cshrz r i
cshrz r m
cshrz m r
cshrz m i
cshrz m m
cshrnz r r
cshrnz r i
cshrnz r m
cshrnz m r
cshrnz m i
cshrnz m m
# #
# Unsigned arithmetic instructions # Unsigned arithmetic instructions
# #

View File

@ -4,6 +4,13 @@
#include "instrs.h" #include "instrs.h"
#include "arch_i.h" #include "arch_i.h"
IMPL_COND(not);
IMPL_COND(and);
IMPL_COND(or);
IMPL_COND(xor);
IMPL_COND(shl);
IMPL_COND(shr);
// //
// Comparison instructions // Comparison instructions
// //