Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2016 14:29:14 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295564 - head/sys/riscv/include
Message-ID:  <201602121429.u1CETEQp014517@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Fri Feb 12 14:29:14 2016
New Revision: 295564
URL: https://svnweb.freebsd.org/changeset/base/295564

Log:
  Use __uint64_t type for floating point registers
  as compiler don't know about __uint128_t yet.
  
  Discussed with:	theraven, kib

Modified:
  head/sys/riscv/include/ucontext.h

Modified: head/sys/riscv/include/ucontext.h
==============================================================================
--- head/sys/riscv/include/ucontext.h	Fri Feb 12 12:38:04 2016	(r295563)
+++ head/sys/riscv/include/ucontext.h	Fri Feb 12 14:29:14 2016	(r295564)
@@ -50,7 +50,7 @@ struct gpregs {
 };
 
 struct fpregs {
-	__uint128_t	fp_x[32];
+	__uint64_t	fp_x[64] __aligned(16);
 	__uint64_t	fp_fcsr;
 	int		fp_flags;
 	int		pad;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602121429.u1CETEQp014517>