Where are we on this?
---
Tom Lane wrote:
I wrote:
Nobuhiro Iwamatsu [EMAIL PROTECTED] writes:
+#if defined(__sh__) /* Renesas SuperH */
Do they have any longer form of that macro?
I looked into the gcc sources,
I wrote:
Nobuhiro Iwamatsu [EMAIL PROTECTED] writes:
+#if defined(__sh__) /* Renesas SuperH */
Do they have any longer form of that macro?
I looked into the gcc sources, and the answer seems to be no :-(.
So we're stuck with __sh__.
I'm still pretty skeptical about the adequacy of the asm
Hi, all.
I want to use Postgresql on Reneas SuperH.
However, this has not supported SuperH yet.
I wrote the patch to support it.
Please apply.
Best regards,
Nobuhiro
# please CC me, i'm not on the list.
---
This patch support slock_t and tas function for Renesas SuperH.
Signed-off-by:
Nobuhiro Iwamatsu [EMAIL PROTECTED] writes:
+#if defined(__sh__) /* Renesas SuperH */
Do they have any longer form of that macro? This one seems dangerously
likely to trigger on unrelated systems.
regards, tom lane
--
Sent via pgsql-patches mailing list
Nobuhiro Iwamatsu [EMAIL PROTECTED] writes:
+ __asm__ __volatile__(
+ tas.b @%1\n\t
+ movt %0\n\t
+ xor#1,%0
+:=z(_res)
+:r(lock)
+:t,memory);
Another question: this asm declaration ignores the advice given