contrib/beignet.git
12 years agoStarted to implement the clean interface to support both HW and simulator
Benjamin Segovia [Wed, 28 Mar 2012 19:18:05 +0000 (19:18 +0000)]
Started to implement the clean interface to support both HW and simulator

12 years agoMade EOT work correctly Extended public API
Benjamin Segovia [Wed, 28 Mar 2012 18:00:03 +0000 (18:00 +0000)]
Made EOT work correctly Extended public API

12 years agoMade EOT work on simulator
Benjamin Segovia [Wed, 28 Mar 2012 17:58:50 +0000 (17:58 +0000)]
Made EOT work on simulator

12 years agoAdded more functions to interface Gen programs
Benjamin Segovia [Wed, 21 Mar 2012 18:08:32 +0000 (18:08 +0000)]
Added more functions to interface Gen programs

12 years agoStarted to inject the new compiler API
Benjamin Segovia [Wed, 21 Mar 2012 18:07:40 +0000 (18:07 +0000)]
Started to inject the new compiler API

12 years agoRemoved Gen6 Stripped out all dependencies from previous compiler Added a dependency...
Benjamin Segovia [Wed, 21 Mar 2012 17:28:25 +0000 (17:28 +0000)]
Removed Gen6 Stripped out all dependencies from previous compiler Added a dependency on the new compiler

12 years agoStarted to implement external C interface for the compiler Output a first dummy program
Benjamin Segovia [Wed, 21 Mar 2012 16:58:59 +0000 (16:58 +0000)]
Started to implement external C interface for the compiler Output a first dummy program

12 years agoStarted to implement Gen code generation
Benjamin Segovia [Wed, 21 Mar 2012 03:57:42 +0000 (20:57 -0700)]
Started to implement Gen code generation

12 years agostarted to implement gen encoding
Benjamin Segovia [Tue, 20 Mar 2012 09:54:20 +0000 (02:54 -0700)]
started to implement gen encoding

12 years agoAdded first support for constant vector Recompiled all ocl kernels Fixed problem...
Benjamin Segovia [Tue, 20 Mar 2012 02:11:28 +0000 (19:11 -0700)]
Added first support for constant vector Recompiled all ocl kernels Fixed problem when a block does not end with a branch Added proper support for special registers and function argument in liveness analysis and function DAG creation

12 years agoFixed several bugs in the DAG creation code
Benjamin Segovia [Mon, 19 Mar 2012 12:10:44 +0000 (05:10 -0700)]
Fixed several bugs in the DAG creation code

12 years agoFixed a bug in memory debugger (...) Fixed a stupid bug while releasing FunctionDAG
Benjamin Segovia [Sat, 17 Mar 2012 11:07:37 +0000 (04:07 -0700)]
Fixed a bug in memory debugger (...) Fixed a stupid bug while releasing FunctionDAG

12 years agoFixed auto keyword use
Benjamin Segovia [Sat, 17 Mar 2012 07:21:05 +0000 (00:21 -0700)]
Fixed auto keyword use

12 years agoStarted to fix problem with blocks that do not end with BRA instructions
Benjamin Segovia [Fri, 16 Mar 2012 19:38:57 +0000 (19:38 +0000)]
Started to fix problem with blocks that do not end with BRA instructions

12 years agoKept on implementing full function DAG Added a monitor for the memory consumption
Benjamin Segovia [Fri, 16 Mar 2012 19:26:45 +0000 (19:26 +0000)]
Kept on implementing full function DAG Added a monitor for the memory consumption

12 years agoStarted to implement the iterative data flow pass to build the global DAG
Benjamin Segovia [Fri, 16 Mar 2012 11:04:45 +0000 (04:04 -0700)]
Started to implement the iterative data flow pass to build the global DAG

12 years agoStarted to implement values and ud | du chains
Benjamin Segovia [Thu, 15 Mar 2012 19:03:19 +0000 (19:03 +0000)]
Started to implement values and ud | du chains

12 years agovalue.hpp -> immediate.hpp value is going to be a real "Value" (as compiler values)
Benjamin Segovia [Thu, 15 Mar 2012 14:34:25 +0000 (14:34 +0000)]
value.hpp -> immediate.hpp value is going to be a real "Value" (as compiler values)

12 years agoAdded proper bookkeeping for the argument types Finished the liveness pretty printer
Benjamin Segovia [Thu, 15 Mar 2012 14:15:33 +0000 (14:15 +0000)]
Added proper bookkeeping for the argument types Finished the liveness pretty printer

12 years agoStarted to implement pretty printer for the liveness analysis
Benjamin Segovia [Thu, 15 Mar 2012 05:24:54 +0000 (22:24 -0700)]
Started to implement pretty printer for the liveness analysis

12 years agoStarted to implement liveness analysis
Benjamin Segovia [Tue, 13 Mar 2012 19:33:57 +0000 (19:33 +0000)]
Started to implement liveness analysis

12 years agoStarted to implement liveness analysis
Benjamin Segovia [Tue, 13 Mar 2012 07:59:41 +0000 (00:59 -0700)]
Started to implement liveness analysis

12 years agoRemoved unused returnStruct field from function Included stdlib.h for all files
Benjamin Segovia [Tue, 13 Mar 2012 02:26:24 +0000 (19:26 -0700)]
Removed unused returnStruct field from function Included stdlib.h for all files

12 years agoMade the instructions double-chain list elements Renamed the register family s/Regist...
Benjamin Segovia [Tue, 13 Mar 2012 01:36:14 +0000 (18:36 -0700)]
Made the instructions double-chain list elements Renamed the register family s/RegisterData::Family/RegisterFamily/ s/RegisterData::/FAMILY_/

12 years agoAdded new test
Benjamin Segovia [Mon, 12 Mar 2012 06:14:02 +0000 (23:14 -0700)]
Added new test

12 years agoImplemented PHI and Branch instruction translation
Benjamin Segovia [Mon, 12 Mar 2012 04:42:22 +0000 (21:42 -0700)]
Implemented PHI and Branch instruction translation

12 years agoAdded shuffle/insert/extract elements LLVM IR translation Added Gen IR select instruc...
Benjamin Segovia [Wed, 7 Mar 2012 09:49:50 +0000 (01:49 -0800)]
Added shuffle/insert/extract elements LLVM IR translation Added Gen IR select instruction and LLVM IR select translation

12 years agoAdded more kernels for the very basic tests
Benjamin Segovia [Mon, 5 Mar 2012 07:19:32 +0000 (23:19 -0800)]
Added more kernels for the very basic tests

12 years agoAdded extra check when dealing with our own builtins functions
Benjamin Segovia [Sat, 3 Mar 2012 11:10:57 +0000 (03:10 -0800)]
Added extra check when dealing with our own builtins functions

12 years agoAdded first support for compare instructions Added first support for convert instructions
Benjamin Segovia [Sat, 3 Mar 2012 11:07:13 +0000 (03:07 -0800)]
Added first support for compare instructions Added first support for convert instructions

12 years agoRemoved unused code from former C backend
Benjamin Segovia [Sat, 3 Mar 2012 06:21:53 +0000 (22:21 -0800)]
Removed unused code from former C backend

12 years agoMade first tests pass with vectors
Benjamin Segovia [Sat, 3 Mar 2012 04:45:26 +0000 (20:45 -0800)]
Made first tests pass with vectors

12 years agoExtended the llvm-to-gen translation pass
Benjamin Segovia [Fri, 2 Mar 2012 07:12:13 +0000 (23:12 -0800)]
Extended the llvm-to-gen translation pass

12 years agoAdded first support for immediates Started to add support for builtin functions
Benjamin Segovia [Wed, 29 Feb 2012 20:37:17 +0000 (20:37 +0000)]
Added first support for immediates Started to add support for builtin functions

12 years agoFinished a first very very limited LLVM to Gen-IR translation. It should be just...
Benjamin Segovia [Wed, 29 Feb 2012 18:09:08 +0000 (18:09 +0000)]
Finished a first very very limited LLVM to Gen-IR translation. It should be just enough to write a first very simple kernel

12 years agoAdded various helper functions in the LLVM to Gen translation Implemented binary...
Benjamin Segovia [Tue, 28 Feb 2012 20:05:09 +0000 (20:05 +0000)]
Added various helper functions in the LLVM to Gen translation Implemented binary instruction translation Implemented return instruction translation

12 years agoImplemented a first implementation of the function argument parsing from LLVM IR
Benjamin Segovia [Mon, 27 Feb 2012 20:01:19 +0000 (20:01 +0000)]
Implemented a first implementation of the function argument parsing from LLVM IR

12 years agoRemoved more stuff from CBackend
Benjamin Segovia [Mon, 27 Feb 2012 14:28:06 +0000 (14:28 +0000)]
Removed more stuff from CBackend

12 years agoRemoved the crap related to llvm targets and triples
Benjamin Segovia [Mon, 27 Feb 2012 14:24:14 +0000 (14:24 +0000)]
Removed the crap related to llvm targets and triples

12 years agoStarted to remove the useless crap from CBackend. We only keep the code as a pass...
Benjamin Segovia [Mon, 27 Feb 2012 14:20:39 +0000 (14:20 +0000)]
Started to remove the useless crap from CBackend. We only keep the code as a pass and not as a triple

12 years agoCompiled the skeletong of what the llvm to gbe translator should be
Benjamin Segovia [Wed, 22 Feb 2012 19:33:08 +0000 (19:33 +0000)]
Compiled the skeletong of what the llvm to gbe translator should be

12 years agoAdded a new define for the debug mode (GBE_DEBUG)
Benjamin Segovia [Wed, 22 Feb 2012 16:39:36 +0000 (16:39 +0000)]
Added a new define for the debug mode (GBE_DEBUG)

12 years agoStarted llvm work
Benjamin Segovia [Tue, 21 Feb 2012 20:46:19 +0000 (20:46 +0000)]
Started llvm work

12 years agoAdded missing file
Benjamin Segovia [Tue, 21 Feb 2012 05:39:29 +0000 (05:39 +0000)]
Added missing file

12 years agoAdded support for output streams for functions
Benjamin Segovia [Tue, 21 Feb 2012 05:29:00 +0000 (05:29 +0000)]
Added support for output streams for functions

12 years agoAdded more tests
Benjamin Segovia [Mon, 20 Feb 2012 06:45:16 +0000 (06:45 +0000)]
Added more tests

12 years agoFixed instruction size in the instruction definitions Added more tests for the contex...
Benjamin Segovia [Mon, 20 Feb 2012 04:05:28 +0000 (04:05 +0000)]
Fixed instruction size in the instruction definitions Added more tests for the context Added more check on the labels

12 years agoImproved error messages with better assertions
Benjamin Segovia [Mon, 20 Feb 2012 02:52:19 +0000 (02:52 +0000)]
Improved error messages with better assertions

12 years agos/Register/RegisterData/g s/RegisterIndex/Register/g s/TupleIndex/Tuple/g
Benjamin Segovia [Mon, 20 Feb 2012 01:24:02 +0000 (01:24 +0000)]
s/Register/RegisterData/g s/RegisterIndex/Register/g s/TupleIndex/Tuple/g

12 years agoChanged typing in GrowingPool. It is more C++ like
Benjamin Segovia [Fri, 17 Feb 2012 08:46:52 +0000 (08:46 +0000)]
Changed typing in GrowingPool. It is more C++ like

12 years agoAdded missing test
Benjamin Segovia [Fri, 17 Feb 2012 08:30:35 +0000 (08:30 +0000)]
Added missing test

12 years agoAdded type safety for all uint* Added one more test
Benjamin Segovia [Fri, 17 Feb 2012 08:27:01 +0000 (08:27 +0000)]
Added type safety for all uint* Added one more test

12 years agoMade the memory debugger properly output the unfreed allocations
Benjamin Segovia [Fri, 17 Feb 2012 04:54:16 +0000 (04:54 +0000)]
Made the memory debugger properly output the unfreed allocations

12 years agoAdded more functionality in the unit test "framework" Created one test that basically...
Benjamin Segovia [Fri, 17 Feb 2012 04:50:36 +0000 (04:50 +0000)]
Added more functionality in the unit test "framework" Created one test that basically checks that the unit test system works

12 years agoAdded missing function for compares
Benjamin Segovia [Fri, 17 Feb 2012 04:02:11 +0000 (04:02 +0000)]
Added missing function for compares

12 years agoEnsure type safety for tuple and register indices by making specific classes
Benjamin Segovia [Fri, 17 Feb 2012 03:13:18 +0000 (03:13 +0000)]
Ensure type safety for tuple and register indices by making specific classes

12 years agoAdded compare instructions Finished to implement well formed functions. They basicall...
Benjamin Segovia [Thu, 16 Feb 2012 11:34:31 +0000 (11:34 +0000)]
Added compare instructions Finished to implement well formed functions. They basically check that the definition is consistent (types match, registers and tuple are not out-of-bound the register files or the tuple files...)

12 years agoAdded more functionalities for the context Started to implement wellFormed function...
Benjamin Segovia [Mon, 13 Feb 2012 19:04:16 +0000 (19:04 +0000)]
Added more functionalities for the context Started to implement wellFormed function that basically checks that everything is properly set in the instruction

12 years agoImproved memory debugger -> added memory re-initialization at free time -> added...
Benjamin Segovia [Mon, 13 Feb 2012 14:47:09 +0000 (14:47 +0000)]
Improved memory debugger -> added memory re-initialization at free time -> added automatic memory debugger initialization

12 years agoRenamed ir_{...} to {...} Put ir structures and classes into an IR namespace Made...
Benjamin Segovia [Mon, 13 Feb 2012 14:00:28 +0000 (14:00 +0000)]
Renamed ir_{...} to {...} Put ir structures and classes into an IR namespace Made all headers homogeneous Removed unused files Put again fixed_array since it is pretty convienent

12 years agoint* -> [u]uint*_t
Benjamin Segovia [Mon, 13 Feb 2012 12:44:22 +0000 (12:44 +0000)]
int* -> [u]uint*_t

12 years agoPlasma specific changes
ojomer [Sat, 11 Feb 2012 13:44:11 +0000 (13:44 +0000)]
Plasma specific changes

12 years agoStart to implement context and compilation unit creation
bsegovia [Fri, 10 Feb 2012 17:26:59 +0000 (09:26 -0800)]
Start to implement context and compilation unit creation

12 years agoAdded first support for compilation units Added first support for constant definition...
bsegovia [Wed, 8 Feb 2012 17:55:18 +0000 (09:55 -0800)]
Added first support for compilation units Added first support for constant definition Finished a first version of instruction definitions

12 years agoAdded missing files
bsegovia [Sun, 5 Feb 2012 19:47:45 +0000 (11:47 -0800)]
Added missing files

12 years agoKeep on implementing instruction class implementation. This basically a set of classe...
bsegovia [Sun, 5 Feb 2012 19:15:24 +0000 (11:15 -0800)]
Keep on implementing instruction class implementation. This basically a set of classes that implements the opaque public instruction classes

12 years agoStarted to add cleaner and safer cast facilities for the instructions
Benjamin Segovia [Wed, 1 Feb 2012 11:42:17 +0000 (11:42 +0000)]
Started to add cleaner and safer cast facilities for the instructions

12 years agoCleaned up instruction class implementation
Benjamin Segovia [Wed, 1 Feb 2012 11:22:37 +0000 (11:22 +0000)]
Cleaned up instruction class implementation

12 years agoAdded a clean interface for instruction (encoding in 8 bytes with alternative encodin...
Benjamin Segovia [Wed, 1 Feb 2012 08:22:00 +0000 (08:22 +0000)]
Added a clean interface for instruction (encoding in 8 bytes with alternative encoding for long instruction (using tuples)) Simplified the register structure

12 years agoFixed SNB build
bsegovia [Tue, 24 Jan 2012 00:32:42 +0000 (00:32 +0000)]
Fixed SNB build

12 years agoStarted to implement IR VM
Benjamin Segovia [Mon, 23 Jan 2012 09:57:14 +0000 (09:57 +0000)]
Started to implement IR VM

12 years agoRemoved unused tests
Benjamin Segovia [Sun, 22 Jan 2012 07:00:33 +0000 (07:00 +0000)]
Removed unused tests

12 years ago- renamed namespace (s/pf/gbe) - created first files for the IR
Benjamin Segovia [Sun, 22 Jan 2012 06:58:24 +0000 (06:58 +0000)]
- renamed namespace (s/pf/gbe) - created first files for the IR

12 years agoImplemented SIMD8 for IVB (only tested on Fulsim but should work out of the box on...
bsegovia [Wed, 18 Jan 2012 03:49:31 +0000 (03:49 +0000)]
Implemented SIMD8 for IVB (only tested on Fulsim but should work out of the box on the HW)

12 years agoImplemented image tiling on IVB fulsim
bsegovia [Thu, 1 Dec 2011 03:47:28 +0000 (03:47 +0000)]
Implemented image tiling on IVB fulsim

12 years agoFixed compilation while using the old compiler
bsegovia [Tue, 29 Nov 2011 05:01:22 +0000 (05:01 +0000)]
Fixed compilation while using the old compiler

12 years agoPorted the code to HSW Updated the compiler. Both old and view compilers are supporte...
bsegovia [Tue, 29 Nov 2011 04:50:11 +0000 (04:50 +0000)]
Ported the code to HSW Updated the compiler. Both old and view compilers are supported via a compiler flag

12 years agoPorted the code to HSW
bsegovia [Tue, 29 Nov 2011 04:37:51 +0000 (04:37 +0000)]
Ported the code to HSW

12 years agoremoved krn75 tmp files
bsegovia [Tue, 29 Nov 2011 02:36:06 +0000 (02:36 +0000)]
removed krn75 tmp files

12 years agoSilent GCC warnings in release mode
bsegovia [Tue, 29 Nov 2011 02:02:51 +0000 (02:02 +0000)]
Silent GCC warnings in release mode

12 years agoRemoved unused file
bsegovia [Tue, 29 Nov 2011 01:23:16 +0000 (01:23 +0000)]
Removed unused file

12 years agoAdded new kernels
bsegovia [Tue, 29 Nov 2011 01:21:58 +0000 (01:21 +0000)]
Added new kernels

12 years agoAdded a program to inject ASM code in a binary blob
bsegovia [Sat, 29 Oct 2011 00:27:49 +0000 (00:27 +0000)]
Added a program to inject ASM code in a binary blob

12 years agoAdded support __constant samplers
bsegovia [Tue, 18 Oct 2011 00:59:41 +0000 (00:59 +0000)]
Added support __constant samplers

12 years agoImplemented API functions related to samplers
bsegovia [Sat, 15 Oct 2011 05:47:52 +0000 (05:47 +0000)]
Implemented API functions related to samplers

12 years agoRemoved some useless code in cl_utils.h Started to implement support for samplers
bsegovia [Sat, 15 Oct 2011 05:34:12 +0000 (05:34 +0000)]
Removed some useless code in cl_utils.h Started to implement support for samplers

12 years agoImproved the support for fulsim dumps. Previously because of some limitations in...
bsegovia [Sat, 15 Oct 2011 04:48:12 +0000 (04:48 +0000)]
Improved the support for fulsim dumps. Previously because of some limitations in the bmp read code, we were not able to dump large buffers. Now, I just subdivide each buffer into chunks to make it work. Note that you also need to update libdrm_fulsim from the subversion server

12 years agoFinished first support for image2D. Right now, we only support linear formats
bsegovia [Sat, 15 Oct 2011 04:06:29 +0000 (04:06 +0000)]
Finished first support for image2D. Right now, we only support linear formats

12 years agoAdded first support for (still linear) images for Gen7
bsegovia [Sat, 15 Oct 2011 01:40:08 +0000 (01:40 +0000)]
Added first support for (still linear) images for Gen7

12 years agoFirst test now passes with images (format still hard-coded and constant patching...
bsegovia [Fri, 14 Oct 2011 04:41:19 +0000 (04:41 +0000)]
First test now passes with images (format still hard-coded and constant patching is still missing)

12 years agoStarted to implement support for images (back end part of it is still missing)
bsegovia [Fri, 14 Oct 2011 03:30:36 +0000 (03:30 +0000)]
Started to implement support for images (back end part of it is still missing)

12 years agoCleaned up a bit the code removing unnecessary defines and structs from Mesa
bsegovia [Thu, 13 Oct 2011 23:41:18 +0000 (23:41 +0000)]
Cleaned up a bit the code removing unnecessary defines and structs from Mesa

12 years agoAdded copy images
bsegovia [Thu, 13 Oct 2011 23:00:51 +0000 (23:00 +0000)]
Added copy images

12 years agoRemoved warnings
bsegovia [Tue, 11 Oct 2011 02:30:40 +0000 (02:30 +0000)]
Removed warnings

12 years agoAdded Mandelbrot tests
bsegovia [Tue, 11 Oct 2011 02:02:35 +0000 (02:02 +0000)]
Added Mandelbrot tests

12 years agoImplement the support for a separated surface heap as required by IVB
bsegovia [Fri, 7 Oct 2011 23:49:53 +0000 (23:49 +0000)]
Implement the support for a separated surface heap as required by IVB

12 years agoAdded a new test (to debug IVB)
bsegovia [Thu, 6 Oct 2011 03:20:17 +0000 (03:20 +0000)]
Added a new test (to debug IVB)

12 years agoRemoved MI_FLUSH and replaced them by proper pipe control
bsegovia [Wed, 5 Oct 2011 04:37:49 +0000 (04:37 +0000)]
Removed MI_FLUSH and replaced them by proper pipe control

12 years agoThis is a test file just for checking the e-mail functionality. Can be deleted at...
steves [Tue, 6 Sep 2011 23:44:04 +0000 (23:44 +0000)]
This is a test file just for checking the e-mail functionality. Can be deleted at any time.

12 years agoThis is a test file just for checking the e-mail functionality. Can be deleted at...
steves [Tue, 6 Sep 2011 22:23:58 +0000 (22:23 +0000)]
This is a test file just for checking the e-mail functionality. Can be deleted at any time.