Commit Graph

  • 9d5a87a096 assembler: Use brw_reg in the source operand Damien Lespiau 2013-01-23 22:29:23 +00:00
  • c13613ea2d assembler: Get rid of src operand's swizzle_set Damien Lespiau 2013-01-23 21:46:21 +00:00
  • a82722b60f assembler: Consolidate the swizzling configuration on 8 bits Damien Lespiau 2013-01-23 21:35:10 +00:00
  • 0375073f05 assembler: Replace struct dst_operand by struct brw_reg Damien Lespiau 2013-01-23 20:33:00 +00:00
  • 801b4eb1b3 assembler: Unify the direct and indirect register type Damien Lespiau 2013-01-23 16:20:05 +00:00
  • 36f8f65aa0 assembler: Replace struct indirect_reg by struct brw_reg Damien Lespiau 2013-01-23 16:17:28 +00:00
  • b33b8810e0 assembler: Replace struct direct_reg by struct brw_reg Damien Lespiau 2013-01-23 16:06:49 +00:00
  • cce4fc2c36 assembler: Make struct declared_register use struct brw_reg Damien Lespiau 2013-01-23 15:13:55 +00:00
  • 6b56804757 assembler: Don't expose functions only used in main.c Damien Lespiau 2013-01-21 22:17:54 +00:00
  • c74c80c9a5 assembler: Make sure nobody adds a field back to struct brw_instruction Damien Lespiau 2013-01-21 22:12:10 +00:00
  • 79c62f1134 assembler: Don't change the size of opcodes! Damien Lespiau 2013-01-21 21:41:36 +00:00
  • a45a47183a assembler: Make explicit that labels are part of the instructions list Damien Lespiau 2013-01-21 19:28:41 +00:00
  • 73d58edab9 assembler: Refactor the code adding instructions and labels Damien Lespiau 2013-01-21 17:07:28 +00:00
  • 5e5861183d assembler: Make print_instruction() take an instruction Damien Lespiau 2013-01-21 15:10:01 +00:00
  • c716e2bdb4 assembler: Simplify get_subreg_address() Damien Lespiau 2013-01-21 14:45:46 +00:00
  • 8322802acb assembler: Use subreg_nr to store the address register subreg Damien Lespiau 2013-01-21 14:04:59 +00:00
  • 02019d4d55 assembler: Remove the writemask_set field of struct dest_operand Damien Lespiau 2013-01-20 21:52:05 +00:00
  • db6f5e08ba assembler: Use BRW_WRITEMASK_XYZW instead of the 0xf constant Damien Lespiau 2013-01-20 21:11:29 +00:00
  • 042e9353e9 assembler: Import brw_eu_emit.c Damien Lespiau 2013-01-19 23:27:46 +00:00
  • 7902f2c08c assembler: Don't use -Wpointer-arith Damien Lespiau 2013-01-19 23:25:22 +00:00
  • 241c5a1322 assembler: Import brw_eu.c Damien Lespiau 2013-01-19 23:04:07 +00:00
  • 112075f8c2 assembler: Import brw_eu_compact.c Damien Lespiau 2013-01-19 22:52:21 +00:00
  • a66cd60f2d assembler: Protect gen4asm.h from multiple inclusions Damien Lespiau 2013-01-19 22:50:57 +00:00
  • 8b10ceb61b assembler: Make an libbrw library Damien Lespiau 2013-01-19 17:24:56 +00:00
  • 609a8453fb assembler: Introduce struct brw_context Damien Lespiau 2013-01-19 17:05:48 +00:00
  • 3ee5808d63 assembler: Remove white space from brw_eu.h Damien Lespiau 2013-01-19 11:51:08 +00:00
  • 14146b4037 assembler: Import ralloc from Mesa Damien Lespiau 2013-01-19 11:49:11 +00:00
  • 4ca1a04b85 assembler: Update the disassembler code Damien Lespiau 2013-01-19 00:30:18 +00:00
  • 66fdc85d5b assembler: Remove trailing white space from brw_defines.h Damien Lespiau 2013-01-18 13:21:32 +00:00
  • 153aee37d7 assembler: Import brw_defines.h from Mesa Damien Lespiau 2013-01-18 13:14:23 +00:00
  • 4431869bef assembler: Rename BRW_ACCWRCTRL_ACCWRCTRL Damien Lespiau 2013-01-18 11:52:01 +00:00
  • 5e7e3f43a5 assembler: Adopt enum brw_message_target from mesa Damien Lespiau 2013-01-18 11:04:37 +00:00
  • 64e84284e3 assembler: Remove trailing white spaces from brw_structs.h Damien Lespiau 2013-01-16 15:11:05 +00:00
  • c35e0677fe assembler: Adopt brw_structs.h from mesa Damien Lespiau 2013-01-16 14:56:40 +00:00
  • f2059b7cc7 assembler: Rename bits3.id and bits3.fd Damien Lespiau 2013-01-16 01:50:47 +00:00
  • c7dac84953 assembler: Rename branch_2_offset to break_cont Damien Lespiau 2013-01-16 01:44:41 +00:00
  • cb425d6d20 assembler: Rename branch to branch_gen6 Damien Lespiau 2013-01-16 01:19:29 +00:00
  • 0fde3ddccc assembler: Rename gen5 DP pixel_scoreboard_clear to last_render_target Damien Lespiau 2013-01-15 20:34:50 +00:00
  • fe0bd3776e assembler: Remove struct dp_write_gen6 and struct use gen6_dp Damien Lespiau 2013-01-15 20:24:51 +00:00
  • 8fa561d4bb assembler: Rename dp_gen7 to gen7_dp and sync it with Mesa's Damien Lespiau 2013-01-15 18:47:05 +00:00
  • 1f1ad59746 assembler: Rename dp_gen6 to gen6_dp and sync with Mesa's Damien Lespiau 2013-01-15 17:35:24 +00:00
  • 668e0dff7d assembler: Rename dp_read_gen6 to gen6_dp_sampler_const_cache Damien Lespiau 2013-01-15 16:40:06 +00:00
  • 31259c5edc assembler: Rename three_src_gen6 to da3src Damien Lespiau 2013-01-15 14:05:23 +00:00
  • e71f1d2ad4 assembler: Sync brw_instruction's header with mesa's Damien Lespiau 2013-01-14 19:13:19 +00:00
  • 5d52689939 build: Add the debugger compilation status to the summary Damien Lespiau 2013-01-22 08:35:15 +00:00
  • 5435708a50 build: Only build the assembler if flex and bison are found Damien Lespiau 2013-01-21 23:02:36 +00:00
  • 9d3707a78f build: Don't use AM_MAINTAINER_MODE Damien Lespiau 2013-01-19 11:54:05 +00:00
  • e5d07538b2 gitignore: Ignore TAGS files Damien Lespiau 2013-01-15 13:52:57 +00:00
  • af7e11de69 build: Add CAIRO_FLAGS to the debugger compilation Damien Lespiau 2013-01-14 23:25:14 +00:00
  • 191c85976d build: Integrate the merged gen assembler in the build system Damien Lespiau 2013-01-14 23:21:21 +00:00
  • e466360df9 bump version to 1.3 Xiang, Haihao 2012-10-31 16:10:20 +08:00
  • 5d72789848 Fix typo. "donesn't" -> "doesn't" Homer Hsing 2012-10-23 09:21:15 +08:00
  • 93f2a4fc93 Add the CRE enginee for HSW+ Zhao Yakui 2012-10-22 16:13:51 -04:00
  • 495c4e14e7 Fix JMPI encoding for Haswell. Gwenole Beauchesne 2012-10-22 16:13:51 -04:00
  • 8aa952873c Add initial support for Haswell. Gwenole Beauchesne 2012-10-22 16:13:51 -04:00
  • 0c32e25c96 Allow Gen version decimals. Gwenole Beauchesne 2012-10-22 16:13:51 -04:00
  • a5e5d94ce3 Bump gen_level to multiple of tens. Gwenole Beauchesne 2012-10-22 16:13:51 -04:00
  • ee32188422 Fix Gen7 JMPI compilation Homer Hsing 2012-10-19 11:18:23 +08:00
  • e221b0aa78 Fix sub-register number of an address register encoding Homer Hsing 2012-10-18 12:37:31 +08:00
  • 599d7d244a Fix symbol register subreg number calculation rule symbol_reg_p Homer Hsing 2012-10-16 14:14:25 +08:00
  • 460fdc041b Show warning when compiling the grammar parser Homer Hsing 2012-09-28 14:10:00 +08:00
  • e8cb195c6d Support Gen6 WHILE instruction Homer Hsing 2012-09-28 14:05:51 +08:00
  • 2ad18c1c97 Make sure Gen6 IF works Homer Hsing 2012-09-28 14:02:25 +08:00
  • c56d786116 Make sure Gen6 ENDIF work Homer Hsing 2012-09-28 13:46:21 +08:00
  • 397e1ccccb Fix JIP position for Gen6 JMPI Homer Hsing 2012-09-28 13:43:44 +08:00
  • c91bd8c76f Fix Gen6 ELSE instructions code logic according to bspec. Homer Hsing 2012-09-27 16:20:39 +08:00
  • ce55552470 Make sure BREAK/CONT/HALT work on Gen6. Homer Hsing 2012-09-27 15:44:15 +08:00
  • 3de439e2f5 Support Gen6 RET instruction. Homer Hsing 2012-09-27 15:39:28 +08:00
  • 7529682d0a Support Gen6 CALL instruction. Homer Hsing 2012-09-27 15:31:56 +08:00
  • b899aba57f Replace variable init code in WAIT by src_null_reg Homer Hsing 2012-09-27 14:56:30 +08:00
  • 7e2461b6fc Let ip_dst and ip_src become local const variable, so as to reduce replicated code. Homer Hsing 2012-09-27 14:48:14 +08:00
  • 45ab3cf5a1 Support Gen6 three-source-operand instructions. Homer Hsing 2012-09-27 14:20:32 +08:00
  • 72a3c194db Compile ELSE and WHILE in Gen5 as same way as in Gen4 Homer Hsing 2012-09-27 13:51:33 +08:00
  • f55ed65bb2 Fix reloc_target_offset computing logic Homer Hsing 2012-09-24 16:39:36 +08:00
  • 4bf84ec146 Fully support Gen7 branching instructions Homer Hsing 2012-09-24 10:12:26 +08:00
  • 88dfdf34df Supporting multi-branch instructios BRD & BRC Homer Hsing 2012-09-24 10:06:35 +08:00
  • 5d589dbe13 Use right-recursing in parser rule inst_option_list Homer Hsing 2012-09-21 12:35:35 +08:00
  • a7b1c09d18 Support subroutine instructions, CALL & RET Homer Hsing 2012-09-21 12:33:13 +08:00
  • c0ebde2786 Merge replicative code in gram.y Homer Hsing 2012-09-21 10:14:31 +08:00
  • b0b540f02a Reduce replicative code in gram.y by reloc_target field in src_operand Homer Hsing 2012-09-21 10:06:20 +08:00
  • 1f9a4d71e8 Restrict type of relativelocation2 to int Homer Hsing 2012-09-21 09:51:55 +08:00
  • ccd1721190 Rewrite label matching code. Collect labels in a linked list. Homer Hsing 2012-09-21 09:37:06 +08:00
  • 751838e809 Add second_reloc_target in the data structure. Homer Hsing 2012-09-21 08:39:57 +08:00
  • d6f02c181f Add test case for ".declare" overriding feature. Homer Hsing 2012-09-20 14:06:06 +08:00
  • 2ab4c0d9b8 Fix memory leaking in the parser Homer Hsing 2012-09-20 14:04:20 +08:00
  • 741008e050 Fix field length of JIP for one-offset-branch in Gen6 Homer Hsing 2012-09-20 13:09:15 +08:00
  • 6983eebf47 Automatically run all test cases. Homer Hsing 2012-09-19 09:34:58 +08:00
  • 1c009349bc Fix missing environment variables problem in test/run-test.sh Homer Hsing 2012-09-18 16:44:45 +08:00
  • 868cbf7dc5 Add a generic hash table algorithm. Reuse for declared_reg_table and label_table in the future. Homer Hsing 2012-09-18 16:32:39 +08:00
  • 131f61f2ef Add a test case for ".declare" pragma Homer Hsing 2012-09-18 16:28:27 +08:00
  • c3bcc7dbeb Rename brw_instruction.bits3.if_else to branch Homer Hsing 2012-09-18 13:57:20 +08:00
  • bebe8179e1 According to BSPEC, put PLN & BFI1 to binaryop, put SUBB to binaryaccop Homer Hsing 2012-09-18 13:47:22 +08:00
  • 74383f4db4 Explain the difference between binaryinstruction and binaryaccinstruction Homer Hsing 2012-09-18 13:25:53 +08:00
  • 375d1fd7b2 Renaming according to BSPEC: jump_count -> JIP; pop_count -> UIP. Homer Hsing 2012-09-18 13:12:50 +08:00
  • 6171c61e0c Use bits3.if_else.jump_count instead of bits3.ud for readability Homer Hsing 2012-09-17 16:11:49 +08:00
  • 5defbd37b6 Pad NOP instructions instead of the ILLEGAL instruction for entry Homer Hsing 2012-09-17 16:01:16 +08:00
  • e6d61ac202 Merge same if branches in declare_pragma section in gram.y Homer Hsing 2012-09-17 13:34:38 +08:00
  • c19f8338d7 Reduce memory cost in entry_table Homer Hsing 2012-09-14 15:27:19 +08:00
  • f02a1ed427 Make the entry point padding code logic looks nicer Homer Hsing 2012-09-14 13:40:08 +08:00
  • 73ab2f6a68 Fix a typo in src/main.c: "in unit of type" -> "in unit of byte" Homer Hsing 2012-09-14 10:50:09 +08:00