]> Git Repo - qemu.git/blobdiff - target/loongarch/internals.h
target/loongarch: Add floating point comparison instruction translation
[qemu.git] / target / loongarch / internals.h
index 43b865ec21f4e558ad1fc0f5de748e2409c721a1..1a3b39e0be75c83b61c6d1fda8233cd288bb5acd 100644 (file)
@@ -8,6 +8,11 @@
 #ifndef LOONGARCH_INTERNALS_H
 #define LOONGARCH_INTERNALS_H
 
+#define FCMP_LT   0b0001  /* fp0 < fp1 */
+#define FCMP_EQ   0b0010  /* fp0 = fp1 */
+#define FCMP_UN   0b0100  /* unordered */
+#define FCMP_GT   0b1000  /* fp0 > fp1 */
+
 void loongarch_translate_init(void);
 
 void loongarch_cpu_dump_state(CPUState *cpu, FILE *f, int flags);
This page took 0.019262 seconds and 4 git commands to generate.