aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/codegen/lib/gk104.asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/lib/gk104.asm.h')
-rw-r--r--src/gallium/drivers/nouveau/codegen/lib/gk104.asm.h598
1 files changed, 598 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/lib/gk104.asm.h b/src/gallium/drivers/nouveau/codegen/lib/gk104.asm.h
new file mode 100644
index 00000000000..37998768efe
--- /dev/null
+++ b/src/gallium/drivers/nouveau/codegen/lib/gk104.asm.h
@@ -0,0 +1,598 @@
+uint64_t gk104_builtin_code[] = {
+/* 0x0000: gk104_div_u32 */
+ 0x2282828042804287,
+ 0x7800000004009c03,
+ 0x380000007c209c82,
+ 0x180000000400dde2,
+ 0x6000000008309c03,
+ 0x1c00000005205d04,
+ 0x500000000810dc03,
+ 0x200400000c209c43,
+ 0x2282828282828287,
+ 0x500000000810dc03,
+ 0x200400000c209c43,
+ 0x500000000810dc03,
+ 0x200400000c209c43,
+ 0x500000000810dc03,
+ 0x200400000c209c43,
+ 0x500000000810dc03,
+ 0x2042c28280428047,
+ 0x200400000c209c43,
+ 0x280000000000dde4,
+ 0x5000000008001c43,
+ 0x1c00000005209d04,
+ 0x2006000000105c03,
+ 0x1b0e00000811dc03,
+ 0x4800000008104103,
+ 0x220282e20042c287,
+ 0x0800000004000002,
+ 0x1b0e00000811c003,
+ 0x4800000008104103,
+ 0x0800000004000002,
+ 0x9000000000001de7,
+/* 0x00f0: gk104_div_s32 */
+ 0x188e0000fc05dc23,
+ 0x18c40000fc17dc23,
+ 0x2280428042828207,
+ 0x1c00000001201ec4,
+ 0x1c00000005205ec4,
+ 0x7800000004009c03,
+ 0x380000007c209c82,
+ 0x180000000400dde2,
+ 0x6000000008309c03,
+ 0x1c00000005205d04,
+ 0x2282828282828287,
+ 0x500000000810dc03,
+ 0x200400000c209c43,
+ 0x500000000810dc03,
+ 0x200400000c209c43,
+ 0x500000000810dc03,
+ 0x200400000c209c43,
+ 0x500000000810dc03,
+ 0x2282804280428287,
+ 0x200400000c209c43,
+ 0x500000000810dc03,
+ 0x200400000c209c43,
+ 0x280000000000dde4,
+ 0x5000000008001c43,
+ 0x1c00000005209d04,
+ 0x2006000000105c03,
+ 0x22028042c28042c7,
+ 0x1b0e00000811dc03,
+ 0x4800000008104103,
+ 0x0800000004000002,
+ 0x1b0e00000811c003,
+ 0x4800000008104103,
+ 0x0800000004000002,
+ 0x1c00000001200f84,
+ 0x22c200428042e047,
+ 0x1c00000005204b84,
+ 0x9000000000001de7,
+ 0xd4004000084004c5,
+ 0x0c5400000013dc04,
+ 0xd4004000084009c5,
+ 0xd4004000084007c5,
+ 0x9000000000001de7,
+ 0x2000000000000007,
+ 0xd4004000084004c5,
+ 0x0c5400000013dc04,
+ 0xd4004000084009c5,
+ 0xd4004000084007c5,
+ 0x1900000004a0dc04,
+ 0x1800000004a09c04,
+ 0x30de0001d030dc02,
+ 0x2000000000000007,
+ 0x1900000000a05c04,
+ 0x30de0001d0209c02,
+ 0x1800000000a01c04,
+ 0x30de0001d0105c02,
+ 0x30de0001d0001c02,
+ 0x9000000000001de7,
+ 0xd4004000084004a5,
+ 0x2000000000000007,
+ 0x0c5400000013dc04,
+ 0xd4004000084009a5,
+ 0xd4004000084007a5,
+ 0x1900000004a0de04,
+ 0x1800000004a09e04,
+ 0x30e000061c30dc02,
+ 0x1900000000a05e04,
+ 0x2000000000000007,
+ 0x30e000061c209c02,
+ 0x1800000000a01e04,
+ 0x30e000061c105c02,
+ 0x30e000061c001c02,
+ 0x9000000000001de7,
+ 0xd4004000084004a5,
+ 0x0c5400000013dc04,
+ 0x2000000000000007,
+ 0xd4004000084009a5,
+ 0xd4004000084007a5,
+ 0x1d00000004a0de84,
+ 0x1c00000004a09e84,
+ 0x1d00000000a05e84,
+ 0x1c00000000a01e84,
+ 0x9000000000001de7,
+ 0x2000000000000007,
+ 0xd4004000084004a5,
+ 0x0c5400000013dc04,
+ 0xd4004000084009a5,
+ 0xd4004000084007a5,
+ 0x1d00000004a0dc04,
+ 0x1c00000004a09c04,
+ 0x1d00000000a05c04,
+ 0x2000000000000007,
+ 0x1c00000000a01c04,
+ 0x9000000000001de7,
+ 0xd4004000084004a5,
+ 0x0c5400000013dc04,
+ 0xd4004000084009a5,
+ 0xd4004000084007a5,
+ 0x1100000004a0dc04,
+ 0x2000000000000007,
+ 0x1000000004a09c04,
+ 0x1100000000a05c04,
+ 0x1000000000a01c04,
+ 0x9000000000001de7,
+ 0xd4004000084004a5,
+ 0x0c5400000013dc04,
+ 0xd4004000084009a5,
+ 0x2000000000000007,
+ 0xd4004000084007a5,
+ 0x1800000000009de2,
+ 0x18fe00000000dde2,
+ 0x9000000000001de7,
+ 0xd4004000084004a5,
+ 0x0c5400000013dc04,
+ 0xd4004000084009a5,
+ 0x2000000000000007,
+ 0xd4004000084007a5,
+ 0x1800000000009de2,
+ 0x180000000400dde2,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0xd400400008400985,
+ 0x2000000000000007,
+ 0xd400400008400785,
+ 0x7000c02828005c03,
+ 0x18fe00000000dde2,
+ 0x7000c02850009c03,
+ 0x3800000ffc001c02,
+ 0x1800000008a09c04,
+ 0x1800000004a05c04,
+ 0x2000000000000007,
+ 0x30ea00801c209c02,
+ 0x1800000000a01c04,
+ 0x30ea00801c105c02,
+ 0x30ea00801c001c02,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0x2000000000000007,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x7000c02828005c03,
+ 0x180000000400dde2,
+ 0x7000c02850009c03,
+ 0x3800000ffc001c02,
+ 0x9000000000001de7,
+ 0x2000000000000007,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x198000000020dc04,
+ 0x1900000000209c04,
+ 0x30ee02020430dc02,
+ 0x2000000000000007,
+ 0x1880000000205c04,
+ 0x30ee020204209c02,
+ 0x1800000000201c04,
+ 0x30ee020204105c02,
+ 0x30ee020204001c02,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x2000000000000007,
+ 0x0c5400000013dc04,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x198000000020de04,
+ 0x1900000000209e04,
+ 0x30f004081030dc02,
+ 0x1880000000205e04,
+ 0x2000000000000007,
+ 0x30f0040810209c02,
+ 0x1800000000201e04,
+ 0x30f0040810105c02,
+ 0x30f0040810001c02,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0x2000000000000007,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x1d8000000020de84,
+ 0x1d00000000209e84,
+ 0x1c80000000205e84,
+ 0x1c00000000201e84,
+ 0x9000000000001de7,
+ 0x2000000000000007,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x1d8000000020dc04,
+ 0x1d00000000209c04,
+ 0x1c80000000205c04,
+ 0x2000000000000007,
+ 0x1c00000000201c04,
+ 0x9000000000001de7,
+ 0xd400400008400445,
+ 0x0c5400000013dc04,
+ 0xd400400008400945,
+ 0xd400400008400745,
+ 0x7000c01814005c03,
+ 0x2000000000000007,
+ 0x18fe00000000dde2,
+ 0x7000c0142c009c03,
+ 0x380000007c001c02,
+ 0x1800000008209c04,
+ 0x1800000004205c04,
+ 0x30f4108420209c02,
+ 0x1800000000201c04,
+ 0x2000000000000007,
+ 0x30f2082084105c02,
+ 0x30f4108420001c02,
+ 0x9000000000001de7,
+ 0xd400400008400445,
+ 0x0c5400000013dc04,
+ 0xd400400008400945,
+ 0xd400400008400745,
+ 0x2000000000000007,
+ 0x7000c01414005c03,
+ 0x7000c01428009c03,
+ 0x380000007c001c02,
+ 0x18fe00000000dde2,
+ 0x1800000008209c04,
+ 0x1800000004205c04,
+ 0x1800000000201c04,
+ 0x2000000000000007,
+ 0x30f4108420209c02,
+ 0x30f4108420105c02,
+ 0x30f4108420001c02,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0xd400400008400985,
+ 0x2000000000000007,
+ 0xd400400008400785,
+ 0x1900000000a05c04,
+ 0x1800000000a01c04,
+ 0x30de0001d0105c02,
+ 0x30de0001d0001c02,
+ 0x1800000000009de2,
+ 0x18fe00000000dde2,
+ 0x2000000000000007,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x18fe00000000dde2,
+ 0x1900000000a05e04,
+ 0x2000000000000007,
+ 0x1800000000009de2,
+ 0x1800000000a01e04,
+ 0x30e000061c105c02,
+ 0x30e000061c001c02,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0x2000000000000007,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x180000000400dde2,
+ 0x1d00000000a05e84,
+ 0x1800000000009de2,
+ 0x1c00000000a01e84,
+ 0x9000000000001de7,
+ 0x2000000000000007,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x180000000400dde2,
+ 0x1d00000000a05c04,
+ 0x1800000000009de2,
+ 0x2000000000000007,
+ 0x1c00000000a01c04,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x18fe00000000dde2,
+ 0x2000000000000007,
+ 0x1100000000a05c04,
+ 0x1800000000009de2,
+ 0x1000000000a01c04,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0xd400400008400985,
+ 0x2000000000000007,
+ 0xd400400008400785,
+ 0x18fe00000000dde2,
+ 0x1800000000009de2,
+ 0x1800000000005de2,
+ 0x9000000000001de7,
+ 0xd400400008400485,
+ 0x0c5400000013dc04,
+ 0x2000000000000007,
+ 0xd400400008400985,
+ 0xd400400008400785,
+ 0x180000000400dde2,
+ 0x1800000000009de2,
+ 0x1800000000005de2,
+ 0x9000000000001de7,
+ 0xd400400008400445,
+ 0x2000000000000007,
+ 0x0c5400000013dc04,
+ 0xd400400008400945,
+ 0xd400400008400745,
+ 0x18fe00000000dde2,
+ 0x1880000000205c04,
+ 0x1800000000009de2,
+ 0x1800000000201c04,
+ 0x2000000000000007,
+ 0x30ee020204105c02,
+ 0x30ee020204001c02,
+ 0x9000000000001de7,
+ 0xd400400008400445,
+ 0x0c5400000013dc04,
+ 0xd400400008400945,
+ 0xd400400008400745,
+ 0x2000000000000007,
+ 0x18fe00000000dde2,
+ 0x1880000000205e04,
+ 0x1800000000009de2,
+ 0x1800000000201e04,
+ 0x30f0040810105c02,
+ 0x30f0040810001c02,
+ 0x9000000000001de7,
+ 0x2000000000000007,
+ 0xd400400008400445,
+ 0x0c5400000013dc04,
+ 0xd400400008400945,
+ 0xd400400008400745,
+ 0x180000000400dde2,
+ 0x1c80000000205c04,
+ 0x1800000000009de2,
+ 0x2000000000000007,
+ 0x1c00000000201c04,
+ 0x9000000000001de7,
+ 0xd400400008400445,
+ 0x0c5400000013dc04,
+ 0xd400400008400945,
+ 0xd400400008400745,
+ 0x180000000400dde2,
+ 0x2000000000000007,
+ 0x1c80000000205e84,
+ 0x1800000000009de2,
+ 0x1c00000000201e84,
+ 0x9000000000001de7,
+ 0xd400400008400445,
+ 0x0c5400000013dc04,
+ 0xd400400008400945,
+ 0x2000000000000007,
+ 0xd400400008400745,
+ 0x18fe00000000dde2,
+ 0x1800000000a01c04,
+ 0x1800000000009de2,
+ 0x1800000000005de2,
+ 0x30de0001d0001c02,
+ 0x9000000000001de7,
+ 0x2000000000000007,
+ 0xd400400008400445,
+ 0x0c5400000013dc04,
+ 0xd400400008400945,
+ 0xd400400008400745,
+ 0x18fe00000000dde2,
+ 0x1800000000a01e04,
+ 0x1800000000009de2,
+ 0x2000000000000007,
+ 0x1800000000005de2,
+ 0x30e000061c001c02,
+ 0x9000000000001de7,
+ 0xd400400008400465,
+ 0x0c5400000013dc04,
+ 0xd400400008400965,
+ 0xd400400008400765,
+ 0x2000000000000007,
+ 0x180000000400dde2,
+ 0x1800000000009de2,
+ 0x1800000000005de2,
+ 0x9000000000001de7,
+ 0xd400400008400445,
+ 0x0c5400000013dc04,
+ 0xd400400008400945,
+ 0x2000000000000007,
+ 0xd400400008400745,
+ 0x180000000400dde2,
+ 0x1800000000009de2,
+ 0x1800000000005de2,
+ 0x9000000000001de7,
+ 0xd400400008400445,
+ 0x0c5400000013dc04,
+ 0x2000000000000007,
+ 0xd400400008400945,
+ 0xd400400008400745,
+ 0x18fe00000000dde2,
+ 0x1800000000009de2,
+ 0x1000000000a01c04,
+ 0x1800000000005de2,
+ 0x9000000000001de7,
+ 0x2000000000000007,
+ 0xd400400008400405,
+ 0x0c5400000013dc04,
+ 0xd400400008400905,
+ 0xd400400008400705,
+ 0x18fe00000000dde2,
+ 0x1800000000201c04,
+ 0x1800000000009de2,
+ 0x2000000000000007,
+ 0x30ee020204001c02,
+ 0x1800000000005de2,
+ 0x9000000000001de7,
+ 0xd400400008400405,
+ 0x0c5400000013dc04,
+ 0xd400400008400905,
+ 0xd400400008400705,
+ 0x2000000000000007,
+ 0x18fe00000000dde2,
+ 0x1800000000201e04,
+ 0x1800000000009de2,
+ 0x30f0040810001c02,
+ 0x1800000000005de2,
+ 0x9000000000001de7,
+ 0xd400400008400425,
+ 0x2000000000000007,
+ 0x0c5400000013dc04,
+ 0xd400400008400925,
+ 0xd400400008400725,
+ 0x180000000400dde2,
+ 0x1800000000009de2,
+ 0x1800000000005de2,
+ 0x9000000000001de7,
+ 0x2000000000000007,
+ 0xd400400008400405,
+ 0x0c5400000013dc04,
+ 0xd400400008400905,
+ 0xd400400008400705,
+ 0x180000000400dde2,
+ 0x1800000000009de2,
+ 0x1800000000005de2,
+ 0x2000000000000007,
+ 0x9000000000001de7,
+ 0xd40040000840c485,
+ 0x0c5400000013dc04,
+ 0xd40040000840c985,
+ 0xd40040000840c785,
+ 0x18fe00000000dde2,
+ 0x4000000000001de4,
+ 0x9000000000001de7,
+/* 0x0f08: gk104_rcp_f64 */
+ 0x4000000000001de4,
+ 0x9000000000001de7,
+/* 0x0f18: gk104_rsq_f64 */
+ 0x4000000000001de4,
+ 0x9000000000001de7,
+ 0xc800000003f01cc5,
+ 0x2c00000100005c04,
+ 0x2c0000010800dc04,
+ 0x3000c3fffff09c04,
+ 0x680100000c1fdc03,
+ 0x4000000a60001c47,
+ 0x180000004000dde2,
+/* 0x0f60: spill_cfstack */
+ 0x78000009c0000007,
+ 0x0c0000000430dd02,
+ 0x4003ffffa0001ca7,
+ 0x2800406400001de4,
+ 0x2800406410005de4,
+ 0x180000000400dde2,
+ 0x547e18000000dd05,
+ 0x60000008e0000007,
+ 0x190ec0000431dc03,
+ 0x40000000000001f4,
+ 0x94000004c0009c85,
+ 0x2c00000100009c04,
+ 0x2c0000010800dc04,
+ 0x9400000020009ca5,
+ 0x9400000100011cc5,
+ 0x9400000140021cc5,
+ 0x9400000180031cc5,
+ 0x94000001c0041cc5,
+ 0x9400000200051cc5,
+ 0x9400000240061cc5,
+ 0x9400000280071cc5,
+ 0x94000002c0081cc5,
+ 0x9400000300091cc5,
+ 0x94000003400a1cc5,
+ 0x94000003800b1cc5,
+ 0x94000003c00c1cc5,
+ 0x94000004000d1cc5,
+ 0x94000004400e1cc5,
+ 0x94000004800f1cc5,
+ 0xc000000003f09ea5,
+ 0x94000000c0009ca5,
+ 0xc000000023f09ea5,
+ 0x94000000e0009ca5,
+ 0x2c00000084009c04,
+ 0x2c0000008800dc04,
+ 0x9400000040009ca5,
+ 0x2c0000008c009c04,
+ 0x2c0000009400dc04,
+ 0x9400000060009ca5,
+ 0x2c00000098009c04,
+ 0x2c0000009c00dc04,
+ 0x9400000080009ca5,
+ 0x2c000000c800dc04,
+ 0x0c0000001030dd02,
+ 0x4000000100001ea7,
+ 0x480100000c001c03,
+ 0x0800000000105c42,
+/* 0x10d8: shared_loop */
+ 0xc100000000309c85,
+ 0x9400000500009c85,
+ 0x0c00000010001d02,
+ 0x0800000000105d42,
+ 0x0c0000001030dd02,
+ 0x4003ffff40001ca7,
+/* 0x1108: shared_done */
+ 0x2800406420001de4,
+ 0x2800406430005de4,
+ 0xe000000000001c45,
+ 0xd000000003ffdcc5,
+ 0x9c000000000fdcc5,
+ 0x2c0000000c009c04,
+ 0x7000c0205020dc03,
+ 0x7000c01820209c03,
+ 0x5000406450209c03,
+ 0x500040644030dc03,
+ 0x480000000c209c03,
+ 0x4801000008001c03,
+ 0x0800000000105c42,
+/* 0x1170: search_cstack */
+ 0x280040646000dde4,
+ 0x8400000020009f05,
+ 0x190ec0002821dc03,
+ 0x40000000800001e7,
+ 0x0c00000040001c02,
+ 0x0800000000105c42,
+ 0x0c0000004030dd02,
+ 0x00029dff0ffc5cbf,
+/* 0x11b0: entry_found */
+ 0x8400000000009f85,
+ 0x2800406400001de4,
+ 0x2800406410005de4,
+ 0x9400000010009c85,
+ 0x4000000000001df4,
+/* 0x11d8: end_exit */
+ 0x9800000003ffdcc5,
+ 0xd000000000008007,
+ 0xa000000000004007,
+/* 0x11f0: end_cont */
+ 0xd000000000008007,
+ 0x3400c3fffc201c04,
+ 0xc000000003f01ec5,
+ 0xa000000000000007,
+};
+
+uint64_t gk104_builtin_offsets[] = {
+ 0x0000000000000000,
+ 0x00000000000000f0,
+ 0x0000000000000f08,
+ 0x0000000000000f18,
+};