[Beignet] [PATCH] initialize GenRegister::subphysical
Zhigang Gong
zhigang.gong at linux.intel.com
Mon Oct 28 05:32:55 CET 2013
LGTM, will push latter. thanks.
On Mon, Oct 28, 2013 at 10:45:07AM +0800, Homer Hsing wrote:
> GenRegister::subphysical should have same init value as GenRegister::physical
> Signed-off-by: Homer Hsing <homer.xing at intel.com>
> ---
> backend/src/backend/gen_register.hpp | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/backend/src/backend/gen_register.hpp b/backend/src/backend/gen_register.hpp
> index 538f16c..66bc288 100644
> --- a/backend/src/backend/gen_register.hpp
> +++ b/backend/src/backend/gen_register.hpp
> @@ -185,6 +185,7 @@ namespace gbe
> this->type = type;
> this->file = file;
> this->physical = 0;
> + this->subphysical = 0;
> this->value.reg = reg;
> this->negation = 0;
> this->absolute = 0;
> @@ -209,6 +210,7 @@ namespace gbe
> this->file = file;
> this->nr = nr;
> this->physical = 1;
> + this->subphysical = 1;
> this->subnr = subnr * typeSize(type);
> this->negation = 0;
> this->absolute = 0;
> --
> 1.8.3.2
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list